mercurial/wireprotov2server.py
changeset 39828 3ed53b071041
parent 39815 d3d333ab167a
child 39837 69b4a5b89dc5
equal deleted inserted replaced
39827:a6088d10d5f2 39828:3ed53b071041
   337     repo = getdispatchrepo(repo, proto, command)
   337     repo = getdispatchrepo(repo, proto, command)
   338 
   338 
   339     func, spec = COMMANDS[command]
   339     func, spec = COMMANDS[command]
   340     args = proto.getargs(spec)
   340     args = proto.getargs(spec)
   341 
   341 
   342     return func(repo, proto, **args)
   342     return func(repo, proto, **pycompat.strkwargs(args))
   343 
   343 
   344 @interfaceutil.implementer(wireprototypes.baseprotocolhandler)
   344 @interfaceutil.implementer(wireprototypes.baseprotocolhandler)
   345 class httpv2protocolhandler(object):
   345 class httpv2protocolhandler(object):
   346     def __init__(self, req, ui, args=None):
   346     def __init__(self, req, ui, args=None):
   347         self._req = req
   347         self._req = req