mercurial/commands.py
changeset 31691 fbc4eb8e2433
parent 31690 d83e51654c8a
child 31708 cda83a1bfb3a
equal deleted inserted replaced
31690:d83e51654c8a 31691:fbc4eb8e2433
  1806     fm = ui.formatter('config', opts)
  1806     fm = ui.formatter('config', opts)
  1807     for t, f in rcutil.rccomponents():
  1807     for t, f in rcutil.rccomponents():
  1808         if t == 'path':
  1808         if t == 'path':
  1809             ui.debug('read config from: %s\n' % f)
  1809             ui.debug('read config from: %s\n' % f)
  1810         elif t == 'items':
  1810         elif t == 'items':
  1811             pass
  1811             for section, name, value, source in f:
       
  1812                 ui.debug('set config by: %s\n' % source)
  1812         else:
  1813         else:
  1813             raise error.ProgrammingError('unknown rctype: %s' % t)
  1814             raise error.ProgrammingError('unknown rctype: %s' % t)
  1814     untrusted = bool(opts.get('untrusted'))
  1815     untrusted = bool(opts.get('untrusted'))
  1815     if values:
  1816     if values:
  1816         sections = [v for v in values if '.' not in v]
  1817         sections = [v for v in values if '.' not in v]