changeset 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
files mercurial/commands.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Oct 03 22:34:18 2018 +0900
+++ b/mercurial/commands.py	Wed Oct 03 22:43:57 2018 +0900
@@ -1729,6 +1729,16 @@
 
     See :hg:`help config` for more information about config files.
 
+    .. container:: verbose
+
+      Template:
+
+      The following keywords are supported. See also :hg:`help templates`.
+
+      :name:    String. Config name.
+      :source:  String. Filename and line number where the item is defined.
+      :value:   String. Config value.
+
     Returns 0 on success, 1 if NAME does not exist.
 
     """