[PATCH 1 of 1] mq: remove undo after a qimport

André Sintzoff andre.sintzoff at gmail.com
Tue Feb 15 13:04:28 CST 2011


# HG changeset patch
# User André Sintzoff <andre.sintzoff at gmail.com>
# Date 1297796572 -3600
# Node ID e05f14cc64d7b7b58380709bc10b037cd856013f
# Parent  12773f1b7728f0bfdd564fff1800ed99a40b3a6b
mq: remove undo after a qimport

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1805,6 +1805,8 @@
             self.added.append(patchname)
             patchname = None
 
+        self.removeundo(repo)
+
 def delete(ui, repo, *patches, **opts):
     """remove patches from queue
 


More information about the Mercurial-devel mailing list