mercurial/commands.py
changeset 43919 6b6872822b32
parent 43902 e623ad1b4800
child 43985 cd96eccd1ce1
equal deleted inserted replaced
43918:86fe85364811 43919:6b6872822b32
  2222     fm = ui.formatter(b'config', opts)
  2222     fm = ui.formatter(b'config', opts)
  2223     for t, f in rcutil.rccomponents():
  2223     for t, f in rcutil.rccomponents():
  2224         if t == b'path':
  2224         if t == b'path':
  2225             ui.debug(b'read config from: %s\n' % f)
  2225             ui.debug(b'read config from: %s\n' % f)
  2226         elif t == b'items':
  2226         elif t == b'items':
  2227             for section, name, value, source in f:
  2227             # Don't print anything for 'items'.
  2228                 ui.debug(b'set config by: %s\n' % source)
  2228             pass
  2229         else:
  2229         else:
  2230             raise error.ProgrammingError(b'unknown rctype: %s' % t)
  2230             raise error.ProgrammingError(b'unknown rctype: %s' % t)
  2231     untrusted = bool(opts.get(b'untrusted'))
  2231     untrusted = bool(opts.get(b'untrusted'))
  2232 
  2232 
  2233     selsections = selentries = []
  2233     selsections = selentries = []