hgext/mq.py
changeset 16829 6403fdd716fe
parent 16743 38caf405d010
child 16867 1093ad1e8903
--- a/hgext/mq.py	Fri Jun 01 15:14:29 2012 -0500
+++ b/hgext/mq.py	Fri Jun 01 23:42:27 2012 -0500
@@ -3005,14 +3005,14 @@
         finally:
             wlock.release()
 
-    repo.mq.strip(repo, revs, backup=backup, update=update,
-                  force=opts.get('force'))
-
     if opts.get('bookmark'):
         del marks[mark]
         repo._writebookmarks(marks)
         ui.write(_("bookmark '%s' deleted\n") % mark)
 
+    repo.mq.strip(repo, revs, backup=backup, update=update,
+                  force=opts.get('force'))
+
     return 0
 
 @command("qselect",