changeset 52078:eb4f902819d8

localrepo: drop the CamelCase name for `localrepo.revlogfilestorage` See 61557734c0ae for the reasoning.
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 23 Oct 2024 17:03:33 -0400
parents 36be02a749e0
children fc77b968aace
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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."""