##// END OF EJS Templates
hgweb: don't access self.repo during request processing...
Gregory Szorc -
r26209:7917746c default
parent child Browse files
Show More
@@ -324,7 +324,7 b' class hgweb(object):'
324 raise ErrorResponse(HTTP_NOT_FOUND)
324 raise ErrorResponse(HTTP_NOT_FOUND)
325 if cmd in perms:
325 if cmd in perms:
326 self.check_perm(rctx, req, perms[cmd])
326 self.check_perm(rctx, req, perms[cmd])
327 return protocol.call(self.repo, req, cmd)
327 return protocol.call(rctx.repo, req, cmd)
328 except ErrorResponse as inst:
328 except ErrorResponse as inst:
329 # A client that sends unbundle without 100-continue will
329 # A client that sends unbundle without 100-continue will
330 # break if we respond early.
330 # break if we respond early.
General Comments 0
You need to be logged in to leave comments. Login now