equal
deleted
inserted
replaced
170 |
170 |
171 u = ui.ui(parentui=self.parentui) |
171 u = ui.ui(parentui=self.parentui) |
172 try: |
172 try: |
173 u.readconfig(os.path.join(path, '.hg', 'hgrc')) |
173 u.readconfig(os.path.join(path, '.hg', 'hgrc')) |
174 except Exception, e: |
174 except Exception, e: |
175 u.warn(_('error reading %s/.hg/hgrc: %s\n' % (path, e))) |
175 u.warn(_('error reading %s/.hg/hgrc: %s\n') % (path, e)) |
176 continue |
176 continue |
177 def get(section, name, default=None): |
177 def get(section, name, default=None): |
178 return u.config(section, name, default, untrusted=True) |
178 return u.config(section, name, default, untrusted=True) |
179 |
179 |
180 if u.configbool("web", "hidden", untrusted=True): |
180 if u.configbool("web", "hidden", untrusted=True): |