equal
deleted
inserted
replaced
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''' |