diff mercurial/hgweb/hgweb_mod.py @ 3557:f7dee427cd14

Turn of "Not trusting file" logging when running hgweb and hgwebdir (hg serve still shows the warning)
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 26 Oct 2006 19:25:45 +0200
parents 881064004fd0
children fc34fd58ae7b
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Thu Oct 26 19:25:45 2006 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Oct 26 19:25:45 2006 +0200
@@ -69,7 +69,7 @@
 class hgweb(object):
     def __init__(self, repo, name=None):
         if type(repo) == type(""):
-            self.repo = hg.repository(ui.ui(), repo)
+            self.repo = hg.repository(ui.ui(report_untrusted=False), repo)
         else:
             self.repo = repo