equal
deleted
inserted
replaced
144 name = name[len(subdir):] |
144 name = name[len(subdir):] |
145 |
145 |
146 u = ui.ui(parentui=parentui) |
146 u = ui.ui(parentui=parentui) |
147 try: |
147 try: |
148 u.readconfig(os.path.join(path, '.hg', 'hgrc')) |
148 u.readconfig(os.path.join(path, '.hg', 'hgrc')) |
149 except IOError: |
149 except Exception, e: |
150 pass |
150 u.warn(_('error reading %s/.hg/hgrc: %s\n' % (path, e))) |
|
151 continue |
151 def get(section, name, default=None): |
152 def get(section, name, default=None): |
152 return u.config(section, name, default, untrusted=True) |
153 return u.config(section, name, default, untrusted=True) |
153 |
154 |
154 if u.configbool("web", "hidden", untrusted=True): |
155 if u.configbool("web", "hidden", untrusted=True): |
155 continue |
156 continue |