Repair the hgweb search interface
authormpm@selenic.com
Wed, 13 Jul 2005 01:41:49 -0800
changeset 688 b50cd98bb7e4
parent 687 44b30755d07c
child 689 4315db147f00
Repair the hgweb search interface manifest hash: f5c644f14b31da897dc66f96c2852ae1f11f43f1
mercurial/hgweb.py
--- a/mercurial/hgweb.py	Tue Jul 12 20:55:42 2005 -0800
+++ b/mercurial/hgweb.py	Wed Jul 13 01:41:49 2005 -0800
@@ -629,7 +629,7 @@
                 hi = args['rev'][0]
                 try:
                     hi = self.repo.changelog.rev(self.repo.lookup(hi))
-                except KeyError:
+                except RepoError:
                     write(self.search(hi))
                     return