changeset 5289 | ed6df6b1c29a |
parent 5064 | ccdc8db02bdf |
child 5290 | 05889b6b1468 |
child 5331 | 8ee5b8129e7b |
--- a/mercurial/hgweb/hgweb_mod.py Fri Aug 31 22:31:43 2007 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Fri Sep 07 17:38:52 2007 +0200 @@ -65,7 +65,8 @@ class hgweb(object): def __init__(self, repo, name=None): if type(repo) == type(""): - self.repo = hg.repository(ui.ui(report_untrusted=False), repo) + parentui = ui.ui(report_untrusted=False, interactive=False) + self.repo = hg.repository(parentui, repo) else: self.repo = repo