mercurial/hgweb/hgweb_mod.py
changeset 3933 ea238a4e9e8b
parent 3887 79e5a6e7c451
child 3973 b485a4459d96
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -869,7 +869,7 @@ class hgweb(object):
             try:
                 req.write(self.filerevision(self.filectx(req)))
                 return
-            except hg.RepoError:
+            except revlog.LookupError:
                 pass
 
         req.write(self.manifest(self.changectx(req), path))