diff -r 22f97aa5e8b2 -r ed70604d6e07 mercurial/interfaces/repository.py --- a/mercurial/interfaces/repository.py Tue Oct 22 22:44:32 2024 -0400 +++ b/mercurial/interfaces/repository.py Tue Oct 22 22:52:08 2024 -0400 @@ -1552,13 +1552,11 @@ tree manifests. """ - nodeconstants = interfaceutil.Attribute( - """nodeconstants used by the current repository.""" - ) - - narrowed = interfaceutil.Attribute( - """True, is the manifest is narrowed by a matcher""" - ) + nodeconstants: NodeConstants + """nodeconstants used by the current repository.""" + + narrowed: bool + """True, is the manifest is narrowed by a matcher""" def __getitem__(self, node): """Obtain a manifest instance for a given binary node.