Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgwebdir_mod.py @ 16754:d94c470c3deb
hgweb: use ui.nontty to disable all cooked I/O
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 20 May 2012 14:37:22 -0500 |
parents | 287f76b3f502 |
children | 5a9acb0b2086 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Sun May 20 14:37:20 2012 -0500 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun May 20 14:37:22 2012 -0500 @@ -97,7 +97,7 @@ else: u = ui.ui() u.setconfig('ui', 'report_untrusted', 'off') - u.setconfig('ui', 'interactive', 'off') + u.setconfig('ui', 'nontty', 'true') if not isinstance(self.conf, (dict, list, tuple)): map = {'paths': 'hgweb-paths'}