mercurial/hgweb/hgweb_mod.py
changeset 7637 1d54e2f6c0b7
parent 7633 08cabecfa8a8
child 7740 176d3d681702
--- a/mercurial/hgweb/hgweb_mod.py	Sun Jan 11 23:04:24 2009 -0600
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Jan 12 10:42:31 2009 -0600
@@ -8,7 +8,6 @@
 
 import os, mimetypes
 from mercurial.node import hex, nullid
-from mercurial.repo import RepoError
 from mercurial import ui, hg, util, hook, error
 from mercurial import templater, templatefilters
 from common import get_mtime, style_map, ErrorResponse
@@ -191,7 +190,7 @@
             if 'manifest' not in msg:
                 msg = 'revision not found: %s' % err.name
             return tmpl('error', error=msg)
-        except (RepoError, error.RevlogError), inst:
+        except (error.RepoError, error.RevlogError), inst:
             req.respond(HTTP_SERVER_ERROR, ctype)
             return tmpl('error', error=str(inst))
         except ErrorResponse, inst: