mq: remove undo after a qimport
authorAndré Sintzoff <andre.sintzoff@gmail.com>
Tue, 15 Feb 2011 20:02:52 +0100
changeset 13409 9e5df8719ad4
parent 13408 19ad316e5be3
child 13410 1f2b2c33d386
mq: remove undo after a qimport
hgext/mq.py
--- 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