mercurial/hgweb.py
changeset 1170 85555540a4e2
parent 1165 04be5eb73bb3
child 1172 3f30a5e7e15b
--- a/mercurial/hgweb.py
+++ b/mercurial/hgweb.py
@@ -960,7 +960,10 @@ class hgwebdir:
             parity = 0
             for name, path in self.repos:
                 u = ui()
-                u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
+                try:
+                    u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
+                except IOError:
+                    pass
                 get = u.config
 
                 url = ('/'.join([req.env["REQUEST_URI"], name])