interfaces: convert `repository.ipeerrequests` from zope `Attribute` attrs
This is the same transformation as b455dfddfed0 did for dirstate.
--- a/mercurial/interfaces/repository.py Tue Oct 22 16:52:39 2024 -0400
+++ b/mercurial/interfaces/repository.py Tue Oct 22 16:56:53 2024 -0400
@@ -373,9 +373,8 @@
class ipeerrequests(Protocol):
"""Interface for executing commands on a peer."""
- limitedarguments = interfaceutil.Attribute(
- """True if the peer cannot receive large argument value for commands."""
- )
+ limitedarguments: bool
+ """True if the peer cannot receive large argument value for commands."""
def commandexecutor(self):
"""A context manager that resolves to an ipeercommandexecutor.