mercurial/commands.py
changeset 11048 9e643a0c3278
parent 11009 4d3288197717
child 11050 5d35f7d93514
equal deleted inserted replaced
11047:c7dbd6c4877a 11048:9e643a0c3278
   871 
   871 
   872     With --debug, the source (filename and line number) is printed
   872     With --debug, the source (filename and line number) is printed
   873     for each config item.
   873     for each config item.
   874     """
   874     """
   875 
   875 
       
   876     for f in util.rcpath():
       
   877         ui.debug(_('read config from: %s\n') % f)
   876     untrusted = bool(opts.get('untrusted'))
   878     untrusted = bool(opts.get('untrusted'))
   877     if values:
   879     if values:
   878         if len([v for v in values if '.' in v]) > 1:
   880         if len([v for v in values if '.' in v]) > 1:
   879             raise util.Abort(_('only one config item permitted'))
   881             raise util.Abort(_('only one config item permitted'))
   880     for section, name, value in ui.walkconfig(untrusted=untrusted):
   882     for section, name, value in ui.walkconfig(untrusted=untrusted):