##// END OF EJS Templates
mq: make qdelete without -k or a subrepository delete all patches
Brendan Cully -
r3375:58202386 default
parent child Browse files
Show More
@@ -521,7 +521,8 b' class queue:'
521 521 if r:
522 522 r.remove(realpatches, True)
523 523 else:
524 os.unlink(self.join(patch))
524 for p in realpatches:
525 os.unlink(self.join(p))
525 526
526 527 if appliedbase:
527 528 del self.applied[:appliedbase]
@@ -21,7 +21,7 b' ls .hg/patches'
21 21 hg qpop
22 22 hg qdel -k b
23 23 ls .hg/patches
24 hg qdel -f a
24 hg qdel -r a
25 25 hg qapplied
26 26 hg log --template '{rev} {desc}\n'
27 27
@@ -29,7 +29,7 b' hg qnew d'
29 29 hg qnew e
30 30 hg qnew f
31 31
32 hg qdel -f e
33 hg qdel -f d e
32 hg qdel -r e
33 hg qdel -r d e
34 34 hg qapplied
35 35 hg log --template '{rev} {desc}\n'
General Comments 0
You need to be logged in to leave comments. Login now