Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb/hgwebdir_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 | c3043ebe40a0 |
children | abaee83ce0a6 9c8488490724 |
comparison
equal
deleted
inserted
replaced
3556:c3043ebe40a0 | 3557:f7dee427cd14 |
---|---|
108 separator = ';' | 108 separator = ';' |
109 | 109 |
110 rows = [] | 110 rows = [] |
111 parity = 0 | 111 parity = 0 |
112 for name, path in self.repos: | 112 for name, path in self.repos: |
113 u = ui.ui() | 113 u = ui.ui(report_untrusted=False) |
114 try: | 114 try: |
115 u.readconfig(os.path.join(path, '.hg', 'hgrc')) | 115 u.readconfig(os.path.join(path, '.hg', 'hgrc')) |
116 except IOError: | 116 except IOError: |
117 pass | 117 pass |
118 def get(section, name, default=None): | 118 def get(section, name, default=None): |