##// 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 class hgweb(object):
324 324 raise ErrorResponse(HTTP_NOT_FOUND)
325 325 if cmd in perms:
326 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 328 except ErrorResponse as inst:
329 329 # A client that sends unbundle without 100-continue will
330 330 # break if we respond early.
General Comments 0
You need to be logged in to leave comments. Login now