mercurial/hgweb/hgwebdir_mod.py
changeset 8190 9b8ac5fb7760
parent 8180 6fc30fe7f3e7
child 8191 35604226d712
equal deleted inserted replaced
8189:d2899a856f9f 8190:9b8ac5fb7760
   201             for name, path in self.repos:
   201             for name, path in self.repos:
   202                 if not name.startswith(subdir):
   202                 if not name.startswith(subdir):
   203                     continue
   203                     continue
   204                 name = name[len(subdir):]
   204                 name = name[len(subdir):]
   205 
   205 
   206                 u = ui.ui(parentui=self.parentui)
   206                 u = self.parentui.copy()
   207                 try:
   207                 try:
   208                     u.readconfig(os.path.join(path, '.hg', 'hgrc'))
   208                     u.readconfig(os.path.join(path, '.hg', 'hgrc'))
   209                 except Exception, e:
   209                 except Exception, e:
   210                     u.warn(_('error reading %s/.hg/hgrc: %s\n') % (path, e))
   210                     u.warn(_('error reading %s/.hg/hgrc: %s\n') % (path, e))
   211                     continue
   211                     continue