diff mercurial/changegroup.py @ 23205:2d54aa5397cd

changelog: rely on transaction for finalization Instead of calling 'cl.finalize()' by hand (possibly at a bogus time) we register it in the transaction during 'delayupdate' and rely on 'tr.close()' to call it at the right time.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 18 Oct 2014 01:09:41 -0700
parents 3872d563e01a
children cadc9a723d60
line wrap: on
line diff
--- a/mercurial/changegroup.py	Fri Oct 17 22:28:09 2014 -0700
+++ b/mercurial/changegroup.py	Sat Oct 18 01:09:41 2014 -0700
@@ -788,8 +788,6 @@
             # strip should not touch boundary at all
             phases.retractboundary(repo, tr, targetphase, added)
 
-        # make changelog see real files again
-        cl.finalize(trp)
 
         tr.close()