##// END OF EJS Templates
hgweb: always clear report_untrusted and interactive
Matt Mackall -
r10995:5efbfa66 default
parent child Browse files
Show More
@@ -27,12 +27,12 b' class hgweb(object):'
27 u = baseui.copy()
27 u = baseui.copy()
28 else:
28 else:
29 u = ui.ui()
29 u = ui.ui()
30 u.setconfig('ui', 'report_untrusted', 'off')
31 u.setconfig('ui', 'interactive', 'off')
32 self.repo = hg.repository(u, repo)
30 self.repo = hg.repository(u, repo)
33 else:
31 else:
34 self.repo = repo
32 self.repo = repo
35
33
34 self.repo.ui.setconfig('ui', 'report_untrusted', 'off')
35 self.repo.ui.setconfig('ui', 'interactive', 'off')
36 hook.redirect(True)
36 hook.redirect(True)
37 self.mtime = -1
37 self.mtime = -1
38 self.reponame = name
38 self.reponame = name
General Comments 0
You need to be logged in to leave comments. Login now