hgext/mq.py
changeset 3375 58202386deb7
parent 3373 9851f46d6ecc
child 3465 2d35a8d2b32d
--- a/hgext/mq.py	Thu Oct 12 13:39:14 2006 -0700
+++ b/hgext/mq.py	Thu Oct 12 14:02:41 2006 -0700
@@ -521,7 +521,8 @@
             if r:
                 r.remove(realpatches, True)
             else:
-                os.unlink(self.join(patch))
+                for p in realpatches:
+                    os.unlink(self.join(p))
 
         if appliedbase:
             del self.applied[:appliedbase]