diff -r ee0d5e9d77b2 -r b4d85bc122bd mercurial/sshpeer.py --- a/mercurial/sshpeer.py Mon Apr 16 22:10:02 2018 -0700 +++ b/mercurial/sshpeer.py Mon Apr 16 22:21:54 2018 -0700 @@ -15,10 +15,10 @@ error, pycompat, util, - wireproto, wireprotoserver, wireprototypes, wireprotov1peer, + wireprotov1server, ) from .utils import ( procutil, @@ -441,7 +441,7 @@ dbg(line % ' %s-%s: %d' % (key, dk, len(dv))) self.ui.debug("sending %s command\n" % cmd) self._pipeo.write("%s\n" % cmd) - _func, names = wireproto.commands[cmd] + _func, names = wireprotov1server.commands[cmd] keys = names.split() wireargs = {} for k in keys: