hgext/histedit.py
changeset 35421 a51541681b8d
parent 35407 8a0cac20a1ad
parent 35004 7b73bf1a48d4
child 35494 784a85c87c22
equal deleted inserted replaced
35420:c8e8e14a5ee9 35421:a51541681b8d
   486         repo = self.repo
   486         repo = self.repo
   487         rulectx = repo[self.node]
   487         rulectx = repo[self.node]
   488         repo.ui.pushbuffer(error=True, labeled=True)
   488         repo.ui.pushbuffer(error=True, labeled=True)
   489         hg.update(repo, self.state.parentctxnode, quietempty=True)
   489         hg.update(repo, self.state.parentctxnode, quietempty=True)
   490         stats = applychanges(repo.ui, repo, rulectx, {})
   490         stats = applychanges(repo.ui, repo, rulectx, {})
       
   491         repo.dirstate.setbranch(rulectx.branch())
   491         if stats and stats[3] > 0:
   492         if stats and stats[3] > 0:
   492             buf = repo.ui.popbuffer()
   493             buf = repo.ui.popbuffer()
   493             repo.ui.write(*buf)
   494             repo.ui.write(*buf)
   494             raise error.InterventionRequired(
   495             raise error.InterventionRequired(
   495                 _('Fix up the change (%s %s)') %
   496                 _('Fix up the change (%s %s)') %