--- 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