# HG changeset patch # User Pierre-Yves David # Date 1677764673 -3600 # Node ID a44e489940e0e3f23d464022f537a6b53cdfb7c4 # Parent dba3593555e5975dc0a22ed9d943b03912466f54 branch: pass current transaction when writing branch in rebase diff -r dba3593555e5 -r a44e489940e0 hgext/rebase.py --- a/hgext/rebase.py Thu Mar 02 14:44:26 2023 +0100 +++ b/hgext/rebase.py Thu Mar 02 14:44:33 2023 +0100 @@ -1502,7 +1502,9 @@ text=commitmsg, user=user, date=date, extra=extra, editor=editor ) - repo.dirstate.setbranch(repo[newnode].branch()) + repo.dirstate.setbranch( + repo[newnode].branch(), repo.currenttransaction() + ) return newnode