##// END OF EJS Templates
hgewb: disable progress when serving (issue4582)...
Pierre-Yves David -
r25488:89ce95f9 default
parent child Browse files
Show More
@@ -69,6 +69,10 b' class hgweb(object):'
69 69 r.baseui.setconfig('ui', 'report_untrusted', 'off', 'hgweb')
70 70 r.ui.setconfig('ui', 'nontty', 'true', 'hgweb')
71 71 r.baseui.setconfig('ui', 'nontty', 'true', 'hgweb')
72 # displaying bundling progress bar while serving feel wrong and may
73 # break some wsgi implementation.
74 r.ui.setconfig('progress', 'disable', 'true', 'hgweb')
75 r.baseui.setconfig('progress', 'disable', 'true', 'hgweb')
72 76 self.repo = r
73 77 hook.redirect(True)
74 78 self.repostate = ((-1, -1), (-1, -1))
@@ -98,6 +98,9 b' class hgwebdir(object):'
98 98 u = ui.ui()
99 99 u.setconfig('ui', 'report_untrusted', 'off', 'hgwebdir')
100 100 u.setconfig('ui', 'nontty', 'true', 'hgwebdir')
101 # displaying bundling progress bar while serving feels wrong and may
102 # break some wsgi implementations.
103 u.setconfig('progress', 'disable', 'true', 'hgweb')
101 104
102 105 if not isinstance(self.conf, (dict, list, tuple)):
103 106 map = {'paths': 'hgweb-paths'}
General Comments 0
You need to be logged in to leave comments. Login now