hgext/mq.py
changeset 4437 a210b40d0860
parent 4432 905397be7688
child 4476 4ef8fdf57e39
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'''