Teach hgweb about revlog.LookupError
authorBrendan Cully <brendan@kublai.com>
Tue, 19 Dec 2006 16:40:09 -0800
changeset 3936 ea238a4e9e8b
parent 3932 e0793314360e
child 3937 ac02810132ca
child 3940 a33ddd20105c
Teach hgweb about revlog.LookupError
mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py	Tue Dec 19 08:59:41 2006 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Tue Dec 19 16:40:09 2006 -0800
@@ -869,7 +869,7 @@
             try:
                 req.write(self.filerevision(self.filectx(req)))
                 return
-            except hg.RepoError:
+            except revlog.LookupError:
                 pass
 
         req.write(self.manifest(self.changectx(req), path))