##// 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 if r:
521 if r:
522 r.remove(realpatches, True)
522 r.remove(realpatches, True)
523 else:
523 else:
524 os.unlink(self.join(patch))
524 for p in realpatches:
525 os.unlink(self.join(p))
525
526
526 if appliedbase:
527 if appliedbase:
527 del self.applied[:appliedbase]
528 del self.applied[:appliedbase]
@@ -21,7 +21,7 b' ls .hg/patches'
21 hg qpop
21 hg qpop
22 hg qdel -k b
22 hg qdel -k b
23 ls .hg/patches
23 ls .hg/patches
24 hg qdel -f a
24 hg qdel -r a
25 hg qapplied
25 hg qapplied
26 hg log --template '{rev} {desc}\n'
26 hg log --template '{rev} {desc}\n'
27
27
@@ -29,7 +29,7 b' hg qnew d'
29 hg qnew e
29 hg qnew e
30 hg qnew f
30 hg qnew f
31
31
32 hg qdel -f e
32 hg qdel -r e
33 hg qdel -f d e
33 hg qdel -r d e
34 hg qapplied
34 hg qapplied
35 hg log --template '{rev} {desc}\n'
35 hg log --template '{rev} {desc}\n'
General Comments 0
You need to be logged in to leave comments. Login now