D1635: py3: handle keyword arguments correctly in httppeer.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Dec 10 01:09:28 UTC 2017
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1635
AFFECTED FILES
mercurial/httppeer.py
CHANGE DETAILS
diff --git a/mercurial/httppeer.py b/mercurial/httppeer.py
--- a/mercurial/httppeer.py
+++ b/mercurial/httppeer.py
@@ -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)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list