localrepo: drop the CamelCase name for `localrepo.revlogfilestorage`
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 23 Oct 2024 17:03:33 -0400
changeset 52078 eb4f902819d8
parent 52077 36be02a749e0
child 52079 fc77b968aace
localrepo: drop the CamelCase name for `localrepo.revlogfilestorage` See 61557734c0ae for the reasoning.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Wed Oct 23 17:01:35 2024 -0400
+++ b/mercurial/localrepo.py	Wed Oct 23 17:03:33 2024 -0400
@@ -1243,7 +1243,7 @@
     return localrepository
 
 
-class RevlogFileStorage:
+class revlogfilestorage:  # (repository.ilocalrepositoryfilestorage)
     """File storage when using revlogs."""
 
     def file(self, path):
@@ -1258,15 +1258,6 @@
         return filelog.filelog(self.svfs, path, try_split=try_split)
 
 
-revlogfilestorage = interfaceutil.implementer(
-    repository.ilocalrepositoryfilestorage
-)(RevlogFileStorage)
-
-if typing.TYPE_CHECKING:
-    # Help pytype by hiding the interface stuff that confuses it.
-    revlogfilestorage = RevlogFileStorage
-
-
 class RevlogNarrowFileStorage:
     """File storage when using revlogs and narrow files."""