mercurial/hgweb/hgweb_mod.py
changeset 20790 49f2d5644f04
parent 20253 43cfad930d38
child 21759 bd3360c63bb3
--- 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