##// END OF EJS Templates
mq: handle deleting the same patch twice in one command (issue2427)
Dan Villiom Podlaski Christiansen -
r12655:5192b24f default
parent child Browse files
Show More
@@ -765,6 +765,7 class queue(object):
765 765 raise util.Abort(_("cannot delete applied patch %s") % patch)
766 766 if patch not in self.series:
767 767 raise util.Abort(_("patch %s not in series file") % patch)
768 if patch not in realpatches:
768 769 realpatches.append(patch)
769 770
770 771 numrevs = 0
@@ -24,7 +24,9
24 24 popping c
25 25 now at: b
26 26
27 $ hg qdel c
27 Delete the same patch twice in one command (issue2427)
28
29 $ hg qdel c c
28 30
29 31 $ hg qseries
30 32 a
General Comments 0
You need to be logged in to leave comments. Login now