mercurial/interfaces/repository.py
changeset 52893 483b0bb23085
parent 52741 5c48fd4c0e68
child 52894 bde94bd8e8a2
--- a/mercurial/interfaces/repository.py	Sun Feb 09 22:45:16 2025 +0100
+++ b/mercurial/interfaces/repository.py	Sat Feb 08 18:12:29 2025 +0100
@@ -33,7 +33,6 @@
     # to avoid circular imports
     from .. import (
         pathutil,
-        util,
     )
     from ..utils import (
         urlutil,
@@ -42,6 +41,7 @@
     from . import (
         dirstate as intdirstate,
         matcher,
+        misc,
     )
 
     # TODO: make a protocol class for this
@@ -2229,7 +2229,7 @@
     def checkpush(self, pushop):
         pass
 
-    prepushoutgoinghooks: util.hooks
+    prepushoutgoinghooks: misc.IHooks
     """util.hooks instance."""
 
     @abc.abstractmethod