diff -r 483b0bb23085 -r bde94bd8e8a2 mercurial/interfaces/repository.py --- a/mercurial/interfaces/repository.py Sat Feb 08 18:12:29 2025 +0100 +++ b/mercurial/interfaces/repository.py Sat Feb 08 18:15:18 2025 +0100 @@ -31,9 +31,6 @@ # Almost all mercurial modules are only imported in the type checking phase # to avoid circular imports - from .. import ( - pathutil, - ) from ..utils import ( urlutil, ) @@ -1178,7 +1175,7 @@ """ @abc.abstractmethod - def dirs(self) -> pathutil.dirs: + def dirs(self) -> misc.IDirs: """Returns an object implementing the ``idirs`` interface.""" @abc.abstractmethod