changeset 16238:e8eecfe37d4e

mq: no need to delete undo files after strip repair.strip takes care of that
author Idan Kamara <idankk86@gmail.com>
date Tue, 06 Mar 2012 18:43:05 +0200
parents b5c0c7d0f83f
children 287f76b3f502
files hgext/mq.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)