mercurial/commands.py
changeset 20783 43054dc84abd
parent 20782 13fcb9ca9ccc
child 20790 49f2d5644f04
equal deleted inserted replaced
20782:13fcb9ca9ccc 20783:43054dc84abd
  1475     of that config item.
  1475     of that config item.
  1476 
  1476 
  1477     With multiple arguments, print names and values of all config
  1477     With multiple arguments, print names and values of all config
  1478     items with matching section names.
  1478     items with matching section names.
  1479 
  1479 
       
  1480     With --edit, start an editor on the user-level config file. With
       
  1481     --global, edit the system-wide config file. With --local, edit the
       
  1482     repository-level config file.
       
  1483 
  1480     With --debug, the source (filename and line number) is printed
  1484     With --debug, the source (filename and line number) is printed
  1481     for each config item.
  1485     for each config item.
  1482 
  1486 
       
  1487     See :hg:`help config` for more information about config files.
       
  1488 
  1483     Returns 0 on success.
  1489     Returns 0 on success.
       
  1490 
  1484     """
  1491     """
  1485 
  1492 
  1486     if opts.get('edit') or opts.get('local') or opts.get('global'):
  1493     if opts.get('edit') or opts.get('local') or opts.get('global'):
  1487         if opts.get('local') and opts.get('global'):
  1494         if opts.get('local') and opts.get('global'):
  1488             raise util.Abort(_("can't use --local and --global together"))
  1495             raise util.Abort(_("can't use --local and --global together"))