hgext/histedit.py
changeset 35414 a51541681b8d
parent 35400 8a0cac20a1ad
parent 35390 7b73bf1a48d4
child 35490 784a85c87c22
--- a/hgext/histedit.py	Thu Dec 14 20:18:15 2017 +0000
+++ b/hgext/histedit.py	Thu Dec 14 16:01:28 2017 -0500
@@ -488,6 +488,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)