mercurial/httppeer.py
changeset 35359 98bc4c43f570
parent 35197 bfd072c52e03
child 35697 5a7906ed78d4
--- a/mercurial/httppeer.py	Sun Dec 10 04:47:04 2017 +0530
+++ b/mercurial/httppeer.py	Sun Dec 10 04:47:21 2017 +0530
@@ -204,6 +204,7 @@
         self._caps = set(self._call('capabilities').split())
 
     def _callstream(self, cmd, _compressible=False, **args):
+        args = pycompat.byteskwargs(args)
         if cmd == 'pushkey':
             args['data'] = ''
         data = args.pop('data', None)