interfaces: convert `imanifestrevisionstored` from zope `Attribute` attrs
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 22 Oct 2024 22:28:10 -0400
changeset 52473 a1dd484bf33b
parent 52472 0d4ead4d88bd
child 52474 048c11993d6a
interfaces: convert `imanifestrevisionstored` from zope `Attribute` attrs This is the same transformation as b455dfddfed0 did for dirstate.
mercurial/interfaces/repository.py
--- 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.