comparison 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
comparison
equal deleted inserted replaced
52472:0d4ead4d88bd 52473:a1dd484bf33b
1174 """Interface representing a manifest revision committed to storage.""" 1174 """Interface representing a manifest revision committed to storage."""
1175 1175
1176 def node(self): 1176 def node(self):
1177 """The binary node for this manifest.""" 1177 """The binary node for this manifest."""
1178 1178
1179 parents = interfaceutil.Attribute( 1179 parents: list[bytes]
1180 """List of binary nodes that are parents for this manifest revision.""" 1180 """List of binary nodes that are parents for this manifest revision."""
1181 )
1182 1181
1183 def readdelta(self, shallow=False): 1182 def readdelta(self, shallow=False):
1184 """Obtain the manifest data structure representing changes from parent. 1183 """Obtain the manifest data structure representing changes from parent.
1185 1184
1186 This manifest is compared to its 1st parent. A new manifest 1185 This manifest is compared to its 1st parent. A new manifest