diff -r 3f47f0d92b4a -r ca080c4d93e0 mercurial/manifest.py --- 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