This is an archive of the discontinued Mercurial Phabricator instance.

repository: implement generic capability methods on peer class
ClosedPublic

Authored by indygreg on Aug 11 2017, 12:20 AM.

Details

Summary

These methods are part of the peer interface, are generic, and can
be implemented in terms of other members of the peer interface. So we
implement them on the peer base class as a convenience.

The implementation is essentially copied from peer.py. The code
in peer.py will eventually be deleted.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Aug 11 2017, 12:20 AM
durin42 accepted this revision.Aug 11 2017, 2:27 PM
This revision is now accepted and ready to land.Aug 11 2017, 2:27 PM
indygreg updated this revision to Diff 849.Aug 13 2017, 2:18 PM
This revision was automatically updated to reflect the committed changes.