hgext/git/dirstate.py
changeset 44622 7bbb83e4e8de
parent 44492 eb061d272af4
child 44927 472b14da52c2
--- a/hgext/git/dirstate.py	Thu Mar 26 16:23:54 2020 -0400
+++ b/hgext/git/dirstate.py	Thu Mar 26 17:09:34 2020 -0400
@@ -300,3 +300,8 @@
     def clearbackup(self, tr, backupname):
         # TODO
         pass
+
+    def setbranch(self, branch):
+        raise error.Abort(
+            b'git repos do not support branches. try using bookmarks'
+        )