##// END OF EJS Templates
interfaces: convert `repository.peer` to a Protocol class...
interfaces: convert `repository.peer` to a Protocol class This is similar to the transformation in 3a90a6fd710d for dirstate. However, `ipeerbase` isn't referenced anywhere other than the `implementer` decorator on this class. I suspect, based on the lack of `self` args on these classes prior to c1674551c109, that zope enforced that interfaces and implementations are separate entities. `Protocol` does not, so fold the former interface definition into the class. Per (seemingly undocumented) pytype desire, the `Protocol` subclass comes last in the list.
Matt Harbison -
r53363:1df97507 default
Show More
Name Size Modified Last Commit Author
/ mercurial / dirstateutils
__init__.py Loading ...
docket.py Loading ...
timestamp.py Loading ...
v2.py Loading ...