--- a/mercurial/hgweb/hgweb_mod.py Mon Apr 26 11:03:40 2010 -0500
+++ b/mercurial/hgweb/hgweb_mod.py Mon Apr 26 11:03:40 2010 -0500
@@ -27,12 +27,12 @@
u = baseui.copy()
else:
u = ui.ui()
- u.setconfig('ui', 'report_untrusted', 'off')
- u.setconfig('ui', 'interactive', 'off')
self.repo = hg.repository(u, repo)
else:
self.repo = repo
+ self.repo.ui.setconfig('ui', 'report_untrusted', 'off')
+ self.repo.ui.setconfig('ui', 'interactive', 'off')
hook.redirect(True)
self.mtime = -1
self.reponame = name