hgext/git/manifest.py
changeset 52474 048c11993d6a
parent 51859 f4733654f144
child 52477 d37d8dfe65bd
--- a/hgext/git/manifest.py	Tue Oct 22 22:28:10 2024 -0400
+++ b/hgext/git/manifest.py	Wed Oct 23 12:44:09 2024 -0400
@@ -268,7 +268,7 @@
     def read(self):
         return gittreemanifest(self._repo, self._tree, None)
 
-    def readfast(self, shallow=False):
+    def readfast(self, shallow: bool = False):
         return self.read()
 
     def copy(self):
@@ -276,7 +276,7 @@
         # because the caller expects a mutable manifest.
         return memgittreemanifestctx(self._repo, self._tree)
 
-    def find(self, path):
+    def find(self, path: bytes) -> tuple[bytes, bytes]:
         return self.read()[path]