Skip to content
Snippets Groups Projects
Commit 6697498b authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

phases: write default phase data as soon as possible.

Marks phase data as dirty when computing default phase. Actual writing is done
when the lock is released. So, read only operation don't write phase data
because they don't lock the repo.
parent 7c967c4a
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,7 @@
raise
for f in repo._phasedefaults:
roots = f(repo, roots)
repo._dirtyphases = True
return roots
def writeroots(repo):
......
......@@ -121,6 +121,7 @@
00660 ../push/.hg/store/data/dir/bar.i
00660 ../push/.hg/store/data/foo.i
00660 ../push/.hg/store/fncache
00660 ../push/.hg/store/phaseroots
00660 ../push/.hg/store/undo
00660 ../push/.hg/store/undo.phaseroots
00660 ../push/.hg/undo.bookmarks
......
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