Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/repository.py @ 52494:4cc186255672
interfaces: convert `repository.ipeerrequests` 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 16:56:53 -0400 |
parents | 73a46cef57c9 |
children | 1df97507c6b8 |
line wrap: on
line diff
--- 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.