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 (2014-08-06)
parents 616a455b02ca
children 6f63c47cbb86
line wrap: on
line diff
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -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