hgext/git/dirstate.py
changeset 51270 79cd29d598af
parent 50776 39eb3aab3e63
child 51859 f4733654f144
--- a/hgext/git/dirstate.py	Wed Dec 20 14:59:31 2023 +0100
+++ b/hgext/git/dirstate.py	Tue Dec 12 17:08:45 2023 +0100
@@ -389,7 +389,7 @@
         # TODO: should this be added to the dirstate interface?
         self._plchangecallbacks[category] = callback
 
-    def setbranch(self, branch, transaction=None):
+    def setbranch(self, branch, transaction):
         raise error.Abort(
             b'git repos do not support branches. try using bookmarks'
         )