mercurial/branchmap.py
changeset 52645 4cb75772818d
parent 52640 24ee91ba9aa8
child 52651 f066fc0bdc7a
--- a/mercurial/branchmap.py	Sun Jan 05 22:26:16 2025 -0500
+++ b/mercurial/branchmap.py	Mon Jan 06 00:30:55 2025 -0500
@@ -202,7 +202,7 @@
 
     def __init__(
         self,
-        repo: "localrepo.localrepository",
+        repo: localrepo.localrepository,
         entries: Union[
             Dict[bytes, List[bytes]], Iterable[Tuple[bytes, List[bytes]]]
         ] = (),
@@ -437,7 +437,7 @@
 
     def __init__(
         self,
-        repo: "localrepo.localrepository",
+        repo: localrepo.localrepository,
         entries: Union[
             Dict[bytes, List[bytes]], Iterable[Tuple[bytes, List[bytes]]]
         ] = (),
@@ -545,7 +545,7 @@
         return bcache
 
     @classmethod
-    def _load_header(cls, repo, lineiter) -> "dict[str, Any]":
+    def _load_header(cls, repo, lineiter) -> dict[str, Any]:
         raise NotImplementedError
 
     def _load_heads(self, repo, lineiter):
@@ -788,7 +788,7 @@
     _base_filename = b"branch2"
 
     @classmethod
-    def _load_header(cls, repo, lineiter) -> "dict[str, Any]":
+    def _load_header(cls, repo, lineiter) -> dict[str, Any]:
         """parse the head of a branchmap file
 
         return parameters to pass to a newly created class instance.
@@ -1079,7 +1079,7 @@
 
     def __init__(
         self,
-        repo: "localrepo.localrepository",
+        repo: localrepo.localrepository,
         entries: Union[
             Dict[bytes, List[bytes]], Iterable[Tuple[bytes, List[bytes]]]
         ] = (),