diff -r 8d00788ca578 -r 24de027551c1 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Mon Sep 24 12:42:25 2007 -0500 +++ b/mercurial/hgweb/hgwebdir_mod.py Mon Sep 24 19:14:18 2007 -0300 @@ -146,8 +146,9 @@ u = ui.ui(parentui=parentui) try: u.readconfig(os.path.join(path, '.hg', 'hgrc')) - except IOError: - pass + except Exception, e: + u.warn(_('error reading %s/.hg/hgrc: %s\n' % (path, e))) + continue def get(section, name, default=None): return u.config(section, name, default, untrusted=True)