comparison mercurial/hook.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 799db2af824c
children e79b6300d97c
comparison
equal deleted inserted replaced
33801:558f5b2ee10e 33802:a0aad86b3b6a