diff mercurial/hgweb/hgweb_mod.py @ 3933:ea238a4e9e8b

Teach hgweb about revlog.LookupError
author Brendan Cully <brendan@kublai.com>
date Tue, 19 Dec 2006 16:40:09 -0800
parents 79e5a6e7c451
children b485a4459d96
line wrap: on
line diff
--- 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))