mercurial/hgweb/hgwebdir_mod.py
changeset 20790 49f2d5644f04
parent 20677 0e757575aef5
child 22087 af62f0280a76
--- a/mercurial/hgweb/hgwebdir_mod.py	Wed Mar 19 02:45:14 2014 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Wed Mar 19 02:45:14 2014 +0100
@@ -96,8 +96,8 @@
             u = self.baseui.copy()
         else:
             u = ui.ui()
-            u.setconfig('ui', 'report_untrusted', 'off')
-            u.setconfig('ui', 'nontty', 'true')
+            u.setconfig('ui', 'report_untrusted', 'off', 'hgwebdir')
+            u.setconfig('ui', 'nontty', 'true', 'hgwebdir')
 
         if not isinstance(self.conf, (dict, list, tuple)):
             map = {'paths': 'hgweb-paths'}