mercurial/sshpeer.py
changeset 33100 05906b8e1d23
parent 32062 ad6c5497cd15
child 33499 0407a51b9d8c
--- a/mercurial/sshpeer.py	Tue Jun 27 02:24:38 2017 +0900
+++ b/mercurial/sshpeer.py	Tue Jun 27 00:20:55 2017 +0530
@@ -12,6 +12,7 @@
 from .i18n import _
 from . import (
     error,
+    pycompat,
     util,
     wireproto,
 )
@@ -259,6 +260,7 @@
         yield wireproto.unescapearg(work)
 
     def _callstream(self, cmd, **args):
+        args = pycompat.byteskwargs(args)
         self.ui.debug("sending %s command\n" % cmd)
         self.pipeo.write("%s\n" % cmd)
         _func, names = wireproto.commands[cmd]