Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/mq.py @ 4437:a210b40d0860
Make mergepatch save queue now that qpush isn't.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Sun, 13 May 2007 19:15:54 -0700 |
parents | 905397be7688 |
children | 4ef8fdf57e39 |
comparison
equal
deleted
inserted
replaced
4436:a764edb6fc95 | 4437:a210b40d0860 |
---|---|
415 if head: | 415 if head: |
416 self.applied.append(statusentry(revlog.hex(head), patch)) | 416 self.applied.append(statusentry(revlog.hex(head), patch)) |
417 self.applied_dirty = 1 | 417 self.applied_dirty = 1 |
418 if err: | 418 if err: |
419 return (err, head) | 419 return (err, head) |
420 self.save_dirty() | |
420 return (0, head) | 421 return (0, head) |
421 | 422 |
422 def patch(self, repo, patchfile): | 423 def patch(self, repo, patchfile): |
423 '''Apply patchfile to the working directory. | 424 '''Apply patchfile to the working directory. |
424 patchfile: file name of patch''' | 425 patchfile: file name of patch''' |