diff -r 9e94f9dbbbe8 -r 2876d077a796 mercurial/filelog.py --- a/mercurial/filelog.py Wed Oct 23 16:22:21 2024 -0400 +++ b/mercurial/filelog.py Wed Oct 23 16:24:18 2024 -0400 @@ -7,8 +7,6 @@ from __future__ import annotations -import typing - from typing import ( Iterable, Iterator, @@ -22,7 +20,6 @@ ) from .interfaces import ( repository, - util as interfaceutil, ) from .utils import storageutil from .revlogutils import ( @@ -31,7 +28,7 @@ ) -class FileLog: +class filelog: # (repository.ifilestorage) _revlog: revlog.revlog nullid: bytes _fix_issue6528: bool @@ -273,12 +270,6 @@ return self._revlog.clone(tr, destrevlog._revlog, **kwargs) -filelog = interfaceutil.implementer(repository.ifilestorage)(FileLog) - -if typing.TYPE_CHECKING: - filelog = FileLog - - class narrowfilelog(filelog): """Filelog variation to be used with narrow stores."""