Mercurial > hg
diff mercurial/manifest.py @ 52070:6641a3ae8313
manifest: drop the CamelCase name for `manifest.manifestlog`
See 61557734c0ae for the reasoning.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 23 Oct 2024 16:39:12 -0400 |
parents | 4675ab746a02 |
children | 3f47f0d92b4a |
line wrap: on
line diff
--- a/mercurial/manifest.py Wed Oct 23 16:36:50 2024 -0400 +++ b/mercurial/manifest.py Wed Oct 23 16:39:12 2024 -0400 @@ -2050,7 +2050,7 @@ 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 @@ return self._rootstore._revlog.update_caches(transaction=transaction) -manifestlog = interfaceutil.implementer(repository.imanifestlog)(ManifestLog) - -if typing.TYPE_CHECKING: - manifestlog = ManifestLog - - class MemManifestCtx: _manifestdict: manifestdict