--- a/mercurial/hgweb/hgweb_mod.py Wed Mar 19 02:45:14 2014 +0100
+++ b/mercurial/hgweb/hgweb_mod.py Wed Mar 19 02:45:14 2014 +0100
@@ -64,10 +64,10 @@
r = repo
r = self._getview(r)
- r.ui.setconfig('ui', 'report_untrusted', 'off')
- r.baseui.setconfig('ui', 'report_untrusted', 'off')
- r.ui.setconfig('ui', 'nontty', 'true')
- r.baseui.setconfig('ui', 'nontty', 'true')
+ r.ui.setconfig('ui', 'report_untrusted', 'off', 'hgweb')
+ r.baseui.setconfig('ui', 'report_untrusted', 'off', 'hgweb')
+ r.ui.setconfig('ui', 'nontty', 'true', 'hgweb')
+ r.baseui.setconfig('ui', 'nontty', 'true', 'hgweb')
self.repo = r
hook.redirect(True)
self.mtime = -1