--- a/hgext/git/dirstate.py Thu Feb 16 04:02:36 2023 +0100
+++ b/hgext/git/dirstate.py Thu Feb 16 04:49:35 2023 +0100
@@ -327,14 +327,6 @@
r[path] = s
return r
- def savebackup(self, tr, backupname):
- # TODO: figure out a strategy for saving index backups.
- pass
-
- def restorebackup(self, tr, backupname):
- # TODO: figure out a strategy for saving index backups.
- pass
-
def set_tracked(self, f, reset_copy=False):
# TODO: support copies and reset_copy=True
uf = pycompat.fsdecode(f)
@@ -397,10 +389,6 @@
# TODO: should this be added to the dirstate interface?
self._plchangecallbacks[category] = callback
- def clearbackup(self, tr, backupname):
- # TODO
- pass
-
def setbranch(self, branch):
raise error.Abort(
b'git repos do not support branches. try using bookmarks'