##// END OF EJS Templates
wireprotoserver: rename call to callhttp...
Gregory Szorc -
r35875:a42455b3 default
parent child Browse files
Show More
@@ -368,7 +368,7 b' class hgweb(object):'
368 368 raise ErrorResponse(HTTP_NOT_FOUND)
369 369 if cmd in perms:
370 370 self.check_perm(rctx, req, perms[cmd])
371 return wireprotoserver.call(rctx.repo, req, cmd)
371 return wireprotoserver.callhttp(rctx.repo, req, cmd)
372 372 except ErrorResponse as inst:
373 373 # A client that sends unbundle without 100-continue will
374 374 # break if we respond early.
@@ -146,7 +146,7 b' class webproto(wireproto.abstractserverp'
146 146 def iscmd(cmd):
147 147 return cmd in wireproto.commands
148 148
149 def call(repo, req, cmd):
149 def callhttp(repo, req, cmd):
150 150 p = webproto(req, repo.ui)
151 151
152 152 def genversion2(gen, engine, engineopts):
General Comments 0
You need to be logged in to leave comments. Login now