comparison mercurial/commands.py @ 40015:c60c1d30a4b2

help: document about "config" template keywords
author Yuya Nishihara <yuya@tcha.org>
date Wed, 03 Oct 2018 22:43:57 +0900
parents d6b3cb3c5b11
children 1f12a3ad93f2
comparison
equal deleted inserted replaced
40014:d6b3cb3c5b11 40015:c60c1d30a4b2
1727 With --debug, the source (filename and line number) is printed 1727 With --debug, the source (filename and line number) is printed
1728 for each config item. 1728 for each config item.
1729 1729
1730 See :hg:`help config` for more information about config files. 1730 See :hg:`help config` for more information about config files.
1731 1731
1732 .. container:: verbose
1733
1734 Template:
1735
1736 The following keywords are supported. See also :hg:`help templates`.
1737
1738 :name: String. Config name.
1739 :source: String. Filename and line number where the item is defined.
1740 :value: String. Config value.
1741
1732 Returns 0 on success, 1 if NAME does not exist. 1742 Returns 0 on success, 1 if NAME does not exist.
1733 1743
1734 """ 1744 """
1735 1745
1736 opts = pycompat.byteskwargs(opts) 1746 opts = pycompat.byteskwargs(opts)