##// END OF EJS Templates
branch: pass current transaction when writing branch in backout command
marmoute -
r51157:e27a5a01 default
parent child Browse files
Show More
@@ -837,7 +837,7 b' def _dobackout(ui, repo, node=None, rev='
837 return 1
837 return 1
838 else:
838 else:
839 hg.clean(repo, node, show_stats=False)
839 hg.clean(repo, node, show_stats=False)
840 repo.dirstate.setbranch(branch)
840 repo.dirstate.setbranch(branch, repo.currenttransaction())
841 cmdutil.revert(ui, repo, rctx)
841 cmdutil.revert(ui, repo, rctx)
842
842
843 if opts.get(b'no_commit'):
843 if opts.get(b'no_commit'):
General Comments 0
You need to be logged in to leave comments. Login now