mq: no need to delete undo files after strip
authorIdan Kamara <idankk86@gmail.com>
Tue, 06 Mar 2012 18:43:05 +0200
changeset 16238 e8eecfe37d4e
parent 16237 b5c0c7d0f83f
child 16239 287f76b3f502
mq: no need to delete undo files after strip repair.strip takes care of that
hgext/mq.py
--- a/hgext/mq.py	Tue Mar 06 18:43:05 2012 +0200
+++ b/hgext/mq.py	Tue Mar 06 18:43:05 2012 +0200
@@ -1043,12 +1043,8 @@
                 hg.clean(repo, urev)
                 repo.dirstate.write()
 
-            self.removeundo(repo)
             for rev in revs:
                 repair.strip(self.ui, repo, rev, backup)
-            # strip may have unbundled a set of backed up revisions after
-            # the actual strip
-            self.removeundo(repo)
         finally:
             release(lock, wlock)