diff -r 465187fec06f -r 69e46c1834ac mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py Fri Apr 06 16:49:57 2018 -0700 +++ b/mercurial/wireprotoserver.py Fri Apr 06 17:14:06 2018 -0700 @@ -606,10 +606,11 @@ def getargs(self, args): data = {} - for k in args.split(): + for k, typ in args.items(): if k == '*': raise NotImplementedError('do not support * args') elif k in self._args: + # TODO consider validating value types. data[k] = self._args[k] return data