Skip to content
Snippets Groups Projects
Commit e358f6e0e50e authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

dirstate: do not write an empty dirstate just for backup

This will get in the way when we get more strict about holding the lock when
writing the dirstate.

Instead, we simply don't copy dirstate files around if there are None at backup
time.

A couple of tests are impacted they no longer need to backup such "empty"
dirstate.
parent 9313d8666a0f
No related branches found
No related tags found
9 merge requests!485branching: merge default into stable,!435dirstate-scoping [11] : remove dirstate-guard,!434dirstate-scoping [10] : start warning/breaking on bad usage,!433dirstate-scoping [09] : use `changing_files` context in many places,!432dirstate-scoping [08] : use change_files and transaction in the commit logic (sometimes),!430dirstate-scoping [06] : rework the way some extensions meddle with the dirstate content,!429dirstate-scoping [05] : improve locking of various commands,!427dirstate-scoping [04] : first cleanup wave for dirstate's backup,!415dirstate-scoping [07] : introduce a changing_files context
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment