diff mercurial/interfaces/repository.py @ 52473:a1dd484bf33b

interfaces: convert `imanifestrevisionstored` from zope `Attribute` attrs This is the same transformation as b455dfddfed0 did for dirstate.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 22 Oct 2024 22:28:10 -0400
parents 0d4ead4d88bd
children 048c11993d6a
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Tue Oct 22 22:25:18 2024 -0400
+++ b/mercurial/interfaces/repository.py	Tue Oct 22 22:28:10 2024 -0400
@@ -1176,9 +1176,8 @@
     def node(self):
         """The binary node for this manifest."""
 
-    parents = interfaceutil.Attribute(
-        """List of binary nodes that are parents for this manifest revision."""
-    )
+    parents: list[bytes]
+    """List of binary nodes that are parents for this manifest revision."""
 
     def readdelta(self, shallow=False):
         """Obtain the manifest data structure representing changes from parent.