Show More
@@ -36,7 +36,7 b' class hgweb(object):' | |||
|
36 | 36 | self.repo = repo |
|
37 | 37 | |
|
38 | 38 | self.repo.ui.setconfig('ui', 'report_untrusted', 'off') |
|
39 |
self.repo.ui.setconfig('ui', ' |
|
|
39 | self.repo.ui.setconfig('ui', 'nontty', 'true') | |
|
40 | 40 | hook.redirect(True) |
|
41 | 41 | self.mtime = -1 |
|
42 | 42 | self.size = -1 |
@@ -97,7 +97,7 b' class hgwebdir(object):' | |||
|
97 | 97 | else: |
|
98 | 98 | u = ui.ui() |
|
99 | 99 | u.setconfig('ui', 'report_untrusted', 'off') |
|
100 |
u.setconfig('ui', ' |
|
|
100 | u.setconfig('ui', 'nontty', 'true') | |
|
101 | 101 | |
|
102 | 102 | if not isinstance(self.conf, (dict, list, tuple)): |
|
103 | 103 | map = {'paths': 'hgweb-paths'} |
General Comments 0
You need to be logged in to leave comments.
Login now