diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -339,7 +339,7 @@ func, spec = COMMANDS[command] args = proto.getargs(spec) - return func(repo, proto, **args) + return func(repo, proto, **pycompat.strkwargs(args)) @interfaceutil.implementer(wireprototypes.baseprotocolhandler) class httpv2protocolhandler(object):