hgext/rebase.py
changeset 50259 a44e489940e0
parent 50107 cad3a68c0e0c
child 50340 9f33d12f6f48
child 50406 2cd959fe631a
--- 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