mercurial/hgweb/hgweb_mod.py
changeset 3933 ea238a4e9e8b
parent 3887 79e5a6e7c451
child 3973 b485a4459d96
equal deleted inserted replaced
3932:e0793314360e 3933:ea238a4e9e8b
   867         path = self.cleanpath(req.form.get('file', [''])[0])
   867         path = self.cleanpath(req.form.get('file', [''])[0])
   868         if path:
   868         if path:
   869             try:
   869             try:
   870                 req.write(self.filerevision(self.filectx(req)))
   870                 req.write(self.filerevision(self.filectx(req)))
   871                 return
   871                 return
   872             except hg.RepoError:
   872             except revlog.LookupError:
   873                 pass
   873                 pass
   874 
   874 
   875         req.write(self.manifest(self.changectx(req), path))
   875         req.write(self.manifest(self.changectx(req), path))
   876 
   876 
   877     def do_diff(self, req):
   877     def do_diff(self, req):