##// 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 / utils
__init__.py Loading ...
cborutil.py Loading ...
compression.py Loading ...
dateutil.py Loading ...
hashutil.py Loading ...
memorytop.py Loading ...
procutil.py Loading ...
repoviewutil.py Loading ...
resourceutil.py Loading ...
storageutil.py Loading ...
stringutil.py Loading ...
urlutil.py Loading ...