equal
deleted
inserted
replaced
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 |