diff mercurial/localrepo.py @ 22070:c1ca47204590

phase: add a transaction argument to retractboundary We now pass a transaction option to this phase movement function. The object is currently not used by the function, but it will be in the future. All call sites have been updated. Most call sites were already enclosed in a transaction for a long time. The handful of others have been recently updated in previous commit.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 05 Aug 2014 23:52:21 -0700
parents bdb6d97f0a04
children 37f46575d9c2
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Aug 06 01:54:19 2014 -0700
+++ b/mercurial/localrepo.py	Tue Aug 05 23:52:21 2014 -0700
@@ -1442,7 +1442,7 @@
                 # be compliant anyway
                 #
                 # if minimal phase was 0 we don't need to retract anything
-                phases.retractboundary(self, targetphase, [n])
+                phases.retractboundary(self, tr, targetphase, [n])
             tr.close()
             branchmap.updatecache(self.filtered('served'))
             return n