changeset 13409:9e5df8719ad4

mq: remove undo after a qimport
author André Sintzoff <andre.sintzoff@gmail.com>
date Tue, 15 Feb 2011 20:02:52 +0100
parents 19ad316e5be3
children 1f2b2c33d386
files hgext/mq.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Tue Feb 15 14:41:49 2011 +0100
+++ b/hgext/mq.py	Tue Feb 15 20:02:52 2011 +0100
@@ -1805,6 +1805,8 @@
             self.added.append(patchname)
             patchname = None
 
+        self.removeundo(repo)
+
 def delete(ui, repo, *patches, **opts):
     """remove patches from queue