[PATCH]mq:qdelete can use index

Ling, Xiaofeng xiaofeng.ling at intel.com
Tue Sep 13 09:28:16 CDT 2005


diff -r c484deb7561c contrib/mq
--- a/contrib/mq	Tue Sep 13 13:55:17 2005
+++ b/contrib/mq	Tue Sep 13 21:57:20 2005
@@ -175,6 +175,7 @@
             sys.exit(err)
 
     def delete(self, repo, patch):
+        patch = self.lookup(patch)
         info = self.isapplied(patch)
         if info:
             self.ui.warn("cannot delete applied patch %s\n" % patch)

-------------------
Ling Xiaofeng(Daniel)
Open Source Technology Center
Intel China Software Center
iNet: 8-752-1243
8621-52574545-1243(O)
xfling at users.sourceforge.net



More information about the Mercurial mailing list