hgext/mq.py
changeset 3373 58202386deb7
parent 3371 9851f46d6ecc
child 3460 2d35a8d2b32d
equal deleted inserted replaced
3372:fd43ff3b4442 3373:58202386deb7
   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]