diff -r 916bb2849c4c -r 04d52b446e5e mercurial/hgweb.py --- a/mercurial/hgweb.py Mon Aug 29 07:07:07 2005 +0200 +++ b/mercurial/hgweb.py Mon Aug 29 07:19:02 2005 +0200 @@ -942,8 +942,9 @@ repos = self.cp.items("paths") repos.sort() for name, path in repos: - repo = repository(ui(), path) - get = repo.ui.config + u = ui() + u.readconfig(file(os.path.join(path, '.hg', 'hgrc'))) + get = u.config url = os.environ["REQUEST_URI"] + "/" + name url = url.replace("//", "/")