##// END OF EJS Templates
hgweb: move call to protocol handler outside of try..except...
Gregory Szorc -
r36003:e69e65b2 default
parent child Browse files
Show More
@@ -368,7 +368,6 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 protohandler['dispatch']()
372 371 except ErrorResponse as inst:
373 372 # A client that sends unbundle without 100-continue will
374 373 # break if we respond early.
@@ -383,6 +382,8 b' class hgweb(object):'
383 382 body='0\n%s\n' % inst)
384 383 return ''
385 384
385 return protohandler['dispatch']()
386
386 387 # translate user-visible url structure to internal structure
387 388
388 389 args = query.split('/', 2)
General Comments 0
You need to be logged in to leave comments. Login now