mercurial/commands.py
changeset 31685 d83e51654c8a
parent 31683 00e569a2da97
child 31686 fbc4eb8e2433
equal deleted inserted replaced
31684:0be96ac9199a 31685:d83e51654c8a
  1805     ui.pager('config')
  1805     ui.pager('config')
  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':
       
  1811             pass
  1810         else:
  1812         else:
  1811             raise error.ProgrammingError('unknown rctype: %s' % t)
  1813             raise error.ProgrammingError('unknown rctype: %s' % t)
  1812     untrusted = bool(opts.get('untrusted'))
  1814     untrusted = bool(opts.get('untrusted'))
  1813     if values:
  1815     if values:
  1814         sections = [v for v in values if '.' not in v]
  1816         sections = [v for v in values if '.' not in v]