comparison mercurial/commands.py @ 8279:602ed4982f36

commands: describe --debug in showconfig help
author Martin Geisler <mg@lazybytes.net>
date Sat, 02 May 2009 21:29:00 +0200
parents b9403042968a
children 36c704b0e7ab
comparison
equal deleted inserted replaced
8278:1f9787de17d9 8279:602ed4982f36
782 782
783 With one arg of the form section.name, print just the value of 783 With one arg of the form section.name, print just the value of
784 that config item. 784 that config item.
785 785
786 With multiple args, print names and values of all config items 786 With multiple args, print names and values of all config items
787 with matching section names.""" 787 with matching section names.
788
789 With the --debug flag, the source (filename and line number) is
790 printed for each config item.
791 """
788 792
789 untrusted = bool(opts.get('untrusted')) 793 untrusted = bool(opts.get('untrusted'))
790 if values: 794 if values:
791 if len([v for v in values if '.' in v]) > 1: 795 if len([v for v in values if '.' in v]) > 1:
792 raise util.Abort(_('only one config item permitted')) 796 raise util.Abort(_('only one config item permitted'))