--- a/hgext/git/manifest.py Thu Jan 02 11:24:09 2025 -0500
+++ b/hgext/git/manifest.py Thu Jan 02 11:27:45 2025 -0500
@@ -4,6 +4,7 @@
from typing import (
Any,
+ Collection,
Iterable,
Iterator,
Set,
@@ -309,6 +310,26 @@
def find(self, path: bytes) -> tuple[bytes, bytes]:
return self.read().find(path)
+ def node(self) -> bytes:
+ raise NotImplementedError
+
+ def readdelta(self, shallow: bool = False):
+ raise NotImplementedError
+
+ def read_any_fast_delta(
+ self,
+ valid_bases: Collection[int] | None = None,
+ *,
+ shallow: bool = False,
+ ):
+ raise NotImplementedError
+
+ def read_delta_parents(self, *, shallow: bool = False, exact: bool = True):
+ raise NotImplementedError
+
+ def read_delta_new_entries(self, *, shallow: bool = False):
+ raise NotImplementedError
+
class memgittreemanifestctx(repository.imanifestrevisionwritable):
def __init__(self, repo, tree):