diff mercurial/wireprotov1peer.py @ 37650:62ebfda864de

repository: remove ipeercommands from ipeerbase AFAICT all callers in core have moved to the commandexecutor interface for invoking wire protocol commands. Or at least they aren't using the named methods on ipeercommands to invoke them. This means we can drop ipeercommands from the ipeerbase interface. As far as interface based programming goes, it is now illegal to call an ipeercommands method for issuing wire protocol commands. However, the methods are still there, so they will still work. At some point we will want to break that API... Differential Revision: https://phab.mercurial-scm.org/D3318
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 13 Apr 2018 11:54:13 -0700
parents a168799687e5
children 1cb54e6193a6
line wrap: on
line diff
--- a/mercurial/wireprotov1peer.py	Fri Apr 13 12:13:42 2018 -0700
+++ b/mercurial/wireprotov1peer.py	Fri Apr 13 11:54:13 2018 -0700
@@ -308,7 +308,7 @@
             else:
                 f.set_result(result)
 
-@zi.implementer(repository.ipeerlegacycommands)
+@zi.implementer(repository.ipeercommands, repository.ipeerlegacycommands)
 class wirepeer(repository.peer):
     """Client-side interface for communicating with a peer repository.