Mercurial > hg
comparison tests/test-inherit-mode.t @ 22080:37f46575d9c2
phase: attach phase to the transaction instead of the lock
The phase cache file is no longer written on lock release, it is now handled by
the transaction (as changesets and obsolescence markers are).
(Hooray)
As we stop relying on the lock to write phase, repos with no existing phase
information will need to wait for a phase move or a strip to happen in order to
get the first write in the `phaseroots` file. This explain the change in
test-inherit-mode.t.
This should not have any side effects but in very obscure cases where
people interact with pre-2.1 and post-2.1 versions of Mercurial on the
same repo while having MQ patches applied but the MQ extension
disabled from time to time. A case unlikely enough to not be worth
preserving the old behavior with awful hacks.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 07 Aug 2014 14:11:36 -0700 |
parents | 7a9cbb315d84 |
children | 7d63398fbfd1 |
comparison
equal
deleted
inserted
replaced
22079:5dcc58649b1a | 22080:37f46575d9c2 |
---|---|
118 00770 ../push/.hg/store/data/ | 118 00770 ../push/.hg/store/data/ |
119 00770 ../push/.hg/store/data/dir/ | 119 00770 ../push/.hg/store/data/dir/ |
120 00660 ../push/.hg/store/data/dir/bar.i | 120 00660 ../push/.hg/store/data/dir/bar.i |
121 00660 ../push/.hg/store/data/foo.i | 121 00660 ../push/.hg/store/data/foo.i |
122 00660 ../push/.hg/store/fncache | 122 00660 ../push/.hg/store/fncache |
123 00660 ../push/.hg/store/phaseroots | |
124 00660 ../push/.hg/store/undo | 123 00660 ../push/.hg/store/undo |
125 00660 ../push/.hg/store/undo.phaseroots | 124 00660 ../push/.hg/store/undo.phaseroots |
126 00660 ../push/.hg/undo.bookmarks | 125 00660 ../push/.hg/undo.bookmarks |
127 00660 ../push/.hg/undo.branch | 126 00660 ../push/.hg/undo.branch |
128 00660 ../push/.hg/undo.desc | 127 00660 ../push/.hg/undo.desc |