hgext/mq.py
branchstable
changeset 21965 fd7839d1107d
parent 21952 3838b910fa6b
child 22003 cbbd957358ff
child 22453 fd0f0b0d316d
--- a/hgext/mq.py	Thu Jul 31 16:01:01 2014 -0500
+++ b/hgext/mq.py	Thu Jul 31 16:32:12 2014 -0500
@@ -1995,12 +1995,12 @@
                 self.added.append(patchname)
                 imported.append(patchname)
                 patchname = None
-            if rev and repo.ui.configbool('mq', 'secret', False):
-                # if we added anything with --rev, we must move the secret root
-                phases.retractboundary(repo, phases.secret, [n])
-            self.parseseries()
-            self.applieddirty = True
-            self.seriesdirty = True
+                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])
+                self.parseseries()
+                self.applieddirty = True
+                self.seriesdirty = True
 
         for i, filename in enumerate(files):
             if existing: