Mercurial > hg
changeset 52072:ca080c4d93e0
manifest: drop the CamelCase name for `manifest.manifestctx`
See 61557734c0ae for the reasoning.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 23 Oct 2024 16:43:22 -0400 |
parents | 3f47f0d92b4a |
children | 569e074894fa |
files | mercurial/manifest.py |
diffstat | 1 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/manifest.py Wed Oct 23 16:41:02 2024 -0400 +++ b/mercurial/manifest.py Wed Oct 23 16:43:22 2024 -0400 @@ -2045,7 +2045,7 @@ self._revlog.opener = value -AnyManifestCtx = Union['ManifestCtx', 'TreeManifestCtx'] +AnyManifestCtx = Union['manifestctx', 'TreeManifestCtx'] # TODO: drop this in favor of repository.imanifestdict AnyManifestDict = Union[manifestdict, treemanifest] @@ -2185,7 +2185,7 @@ ) -class ManifestCtx: +class manifestctx: # (repository.imanifestrevisionstored) """A class representing a single revision of a manifest, including its contents, its parent revs, and its linkrev. """ @@ -2345,14 +2345,6 @@ return self.read().find(key) -manifestctx = interfaceutil.implementer(repository.imanifestrevisionstored)( - ManifestCtx -) - -if typing.TYPE_CHECKING: - manifestctx = ManifestCtx - - class MemTreeManifestCtx: _treemanifest: treemanifest