diff -r eb4f902819d8 -r fc77b968aace mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Oct 23 17:03:33 2024 -0400 +++ b/mercurial/localrepo.py Wed Oct 23 17:04:59 2024 -0400 @@ -1258,7 +1258,7 @@ return filelog.filelog(self.svfs, path, try_split=try_split) -class RevlogNarrowFileStorage: +class revlognarrowfilestorage: # (repository.ilocalrepositoryfilestorage) """File storage when using revlogs and narrow files.""" def file(self, path): @@ -1274,15 +1274,6 @@ ) -revlognarrowfilestorage = interfaceutil.implementer( - repository.ilocalrepositoryfilestorage -)(RevlogNarrowFileStorage) - -if typing.TYPE_CHECKING: - # Help pytype by hiding the interface stuff that confuses it. - revlognarrowfilestorage = RevlogNarrowFileStorage - - def makefilestorage(requirements, features, **kwargs): """Produce a type conforming to ``ilocalrepositoryfilestorage``.""" features.add(repository.REPO_FEATURE_REVLOG_FILE_STORAGE)