diff mercurial/error.py @ 33802:a0aad86b3b6a

repository: implement generic capability methods on peer class 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. Differential Revision: https://phab.mercurial-scm.org/D334
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 06 Aug 2017 16:47:25 -0700
parents 6df193b5c437
children 61714510220d
line wrap: on
line diff