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