mercurial/hgweb/hgwebdir_mod.py
changeset 7740 176d3d681702
parent 7637 1d54e2f6c0b7
child 7948 de377b1a9a84
child 8536 6796d41be421
equal deleted inserted replaced
7739:edcb56991afe 7740:176d3d681702
   166                 # prefixes not found
   166                 # prefixes not found
   167                 req.respond(HTTP_NOT_FOUND, ctype)
   167                 req.respond(HTTP_NOT_FOUND, ctype)
   168                 return tmpl("notfound", repo=virtual)
   168                 return tmpl("notfound", repo=virtual)
   169 
   169 
   170             except ErrorResponse, err:
   170             except ErrorResponse, err:
   171                 req.respond(err.code, ctype)
   171                 req.respond(err, ctype)
   172                 return tmpl('error', error=err.message or '')
   172                 return tmpl('error', error=err.message or '')
   173         finally:
   173         finally:
   174             tmpl = None
   174             tmpl = None
   175 
   175 
   176     def makeindex(self, req, tmpl, subdir=""):
   176     def makeindex(self, req, tmpl, subdir=""):