equal
deleted
inserted
replaced
23 } |
23 } |
24 |
24 |
25 class hgweb(object): |
25 class hgweb(object): |
26 def __init__(self, repo, name=None): |
26 def __init__(self, repo, name=None): |
27 if isinstance(repo, str): |
27 if isinstance(repo, str): |
28 parentui = ui.ui(report_untrusted=False, interactive=False) |
28 parentui = ui.ui() |
|
29 parentui.setconfig('ui', 'report_untrusted', 'off') |
|
30 parentui.setconfig('ui', 'interactive', 'off') |
29 self.repo = hg.repository(parentui, repo) |
31 self.repo = hg.repository(parentui, repo) |
30 else: |
32 else: |
31 self.repo = repo |
33 self.repo = repo |
32 |
34 |
33 hook.redirect(True) |
35 hook.redirect(True) |