branch | stable |
changeset 35390 | 7b73bf1a48d4 |
parent 34917 | ee9243715c59 |
child 35414 | a51541681b8d |
--- a/hgext/histedit.py Tue Dec 12 16:29:26 2017 +0800 +++ b/hgext/histedit.py Tue Dec 12 18:22:11 2017 +0100 @@ -487,6 +487,7 @@ repo.ui.pushbuffer(error=True, labeled=True) hg.update(repo, self.state.parentctxnode, quietempty=True) stats = applychanges(repo.ui, repo, rulectx, {}) + repo.dirstate.setbranch(rulectx.branch()) if stats and stats[3] > 0: buf = repo.ui.popbuffer() repo.ui.write(*buf)