Mercurial > hg
changeset 52079:fc77b968aace
localrepo: drop the CamelCase name for `localrepo.revlognarrowfilestorage`
See 61557734c0ae for the reasoning.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 23 Oct 2024 17:04:59 -0400 |
parents | eb4f902819d8 |
children | 513b413702e8 |
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: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)