changeset 3936:ea238a4e9e8b

Teach hgweb about revlog.LookupError
author Brendan Cully <brendan@kublai.com>
date Tue, 19 Dec 2006 16:40:09 -0800
parents e0793314360e
children ac02810132ca a33ddd20105c
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))