localrepo: drop the CamelCase name for `localrepo.revlognarrowfilestorage`
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 23 Oct 2024 17:04:59 -0400
changeset 52079 fc77b968aace
parent 52078 eb4f902819d8
child 52080 513b413702e8
localrepo: drop the CamelCase name for `localrepo.revlognarrowfilestorage` See 61557734c0ae for the reasoning.
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)