diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -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. diff --git a/mercurial/wireprotoserver.py b/mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py +++ b/mercurial/wireprotoserver.py @@ -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):