Skip to content
Snippets Groups Projects
Commit a42455b3 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

wireprotoserver: rename call to callhttp

In the context of multiple handlers, call() is ambiguous.

Differential Revision: https://phab.mercurial-scm.org/D1966
parent ef3a24a0
No related branches found
No related tags found
No related merge requests found
......@@ -368,7 +368,7 @@
raise ErrorResponse(HTTP_NOT_FOUND)
if cmd in perms:
self.check_perm(rctx, req, perms[cmd])
return wireprotoserver.call(rctx.repo, req, cmd)
return wireprotoserver.callhttp(rctx.repo, req, cmd)
except ErrorResponse as inst:
# A client that sends unbundle without 100-continue will
# break if we respond early.
......
......@@ -146,7 +146,7 @@
def iscmd(cmd):
return cmd in wireproto.commands
def call(repo, req, cmd):
def callhttp(repo, req, cmd):
p = webproto(req, repo.ui)
def genversion2(gen, engine, engineopts):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment