hgext/git/dirstate.py
changeset 50256 a6e0b7d4ae9d
parent 50086 76d44983a398
child 50779 39eb3aab3e63
--- a/hgext/git/dirstate.py	Thu Mar 02 11:46:51 2023 +0100
+++ b/hgext/git/dirstate.py	Thu Mar 02 11:47:18 2023 +0100
@@ -389,7 +389,7 @@
         # TODO: should this be added to the dirstate interface?
         self._plchangecallbacks[category] = callback
 
-    def setbranch(self, branch):
+    def setbranch(self, branch, transaction=None):
         raise error.Abort(
             b'git repos do not support branches. try using bookmarks'
         )