equal
deleted
inserted
replaced
519 if not opts.get('keep'): |
519 if not opts.get('keep'): |
520 r = self.qrepo() |
520 r = self.qrepo() |
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] |
528 self.applied_dirty = 1 |
529 self.applied_dirty = 1 |
529 indices = [self.find_series(p) for p in realpatches] |
530 indices = [self.find_series(p) for p in realpatches] |