mercurial/sshpeer.py
changeset 37785 b4d85bc122bd
parent 37717 0664be4f0c1f
child 37813 58bbd14b0c62
--- 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: