# HG changeset patch # User mpm@selenic.com # Date 1121247709 28800 # Node ID b50cd98bb7e4cde13b0b23e92d37dfd8e9e83eab # Parent 44b30755d07c4ece936e2ffe6fa9b51b518f3c3e Repair the hgweb search interface manifest hash: f5c644f14b31da897dc66f96c2852ae1f11f43f1 diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -629,7 +629,7 @@ class hgweb: hi = args['rev'][0] try: hi = self.repo.changelog.rev(self.repo.lookup(hi)) - except KeyError: + except RepoError: write(self.search(hi)) return