# HG changeset patch # User Matt Harbison # Date 2024-10-23 20:39:12 # Node ID 6641a3ae8313fd2d89f2a626a3b586e94ae7bfac # Parent 4675ab746a020d6b388f25e00c578b25ccf3b022 manifest: drop the CamelCase name for `manifest.manifestlog` See 61557734c0ae for the reasoning. diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -2050,7 +2050,7 @@ AnyManifestCtx = Union['ManifestCtx', 'T AnyManifestDict = Union[manifestdict, treemanifest] -class ManifestLog: +class manifestlog: # (repository.imanifestlog) """A collection class representing the collection of manifest snapshots referenced by commits in the repository. @@ -2154,12 +2154,6 @@ class ManifestLog: return self._rootstore._revlog.update_caches(transaction=transaction) -manifestlog = interfaceutil.implementer(repository.imanifestlog)(ManifestLog) - -if typing.TYPE_CHECKING: - manifestlog = ManifestLog - - class MemManifestCtx: _manifestdict: manifestdict diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -169,7 +169,7 @@ class statichttprepository( ): supported = localrepo.localrepository._basesupported - manifestlog: manifest.ManifestLog + manifestlog: manifest.manifestlog def __init__(self, ui, path): self._url = path diff --git a/mercurial/store.py b/mercurial/store.py --- a/mercurial/store.py +++ b/mercurial/store.py @@ -823,7 +823,7 @@ class basicstore: concurrencychecker=concurrencychecker, ) - def manifestlog(self, repo, storenarrowmatch) -> manifest.ManifestLog: + def manifestlog(self, repo, storenarrowmatch) -> manifest.manifestlog: rootstore = manifest.manifestrevlog(repo.nodeconstants, self.vfs) return manifest.manifestlog(self.vfs, repo, rootstore, storenarrowmatch)