Show More
@@ -368,7 +368,7 b' class hgweb(object):' | |||||
368 | raise ErrorResponse(HTTP_NOT_FOUND) |
|
368 | raise ErrorResponse(HTTP_NOT_FOUND) | |
369 | if cmd in perms: |
|
369 | if cmd in perms: | |
370 | self.check_perm(rctx, req, perms[cmd]) |
|
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 | except ErrorResponse as inst: |
|
372 | except ErrorResponse as inst: | |
373 | # A client that sends unbundle without 100-continue will |
|
373 | # A client that sends unbundle without 100-continue will | |
374 | # break if we respond early. |
|
374 | # break if we respond early. |
@@ -146,7 +146,7 b' class webproto(wireproto.abstractserverp' | |||||
146 | def iscmd(cmd): |
|
146 | def iscmd(cmd): | |
147 | return cmd in wireproto.commands |
|
147 | return cmd in wireproto.commands | |
148 |
|
148 | |||
149 | def call(repo, req, cmd): |
|
149 | def callhttp(repo, req, cmd): | |
150 | p = webproto(req, repo.ui) |
|
150 | p = webproto(req, repo.ui) | |
151 |
|
151 | |||
152 | def genversion2(gen, engine, engineopts): |
|
152 | def genversion2(gen, engine, engineopts): |
General Comments 0
You need to be logged in to leave comments.
Login now