diff hgext/mq.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 616a455b02ca
children 6f63c47cbb86
line wrap: on
line diff
--- a/hgext/mq.py	Wed Aug 06 01:54:19 2014 -0700
+++ b/hgext/mq.py	Tue Aug 05 23:52:21 2014 -0700
@@ -2011,7 +2011,7 @@
                     patchname = None
                     if rev and repo.ui.configbool('mq', 'secret', False):
                         # if we added anything with --rev, move the secret root
-                        phases.retractboundary(repo, phases.secret, [n])
+                        phases.retractboundary(repo, tr, phases.secret, [n])
                     self.parseseries()
                     self.applieddirty = True
                     self.seriesdirty = True