Teach hgweb about revlog.LookupError
authorBrendan Cully <brendan@kublai.com>
Tue, 19 Dec 2006 16:40:09 -0800
changeset 3933 ea238a4e9e8b
parent 3932 e0793314360e
child 3934 a33ddd20105c
child 3943 ac02810132ca
Teach hgweb about revlog.LookupError
mercurial/hgweb/hgweb_mod.py
--- 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))