[PATCH 5 of 6] help: document about "config" template keywords
Yuya Nishihara
yuya at tcha.org
Wed Oct 3 10:09:04 EDT 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1538574237 -32400
# Wed Oct 03 22:43:57 2018 +0900
# Node ID 5657857137840bbb4406c7d5ca2b17b99918eb94
# Parent 221a266fb0313847e30acb095e080aee3d955a8d
help: document about "config" template keywords
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1729,6 +1729,16 @@ def config(ui, repo, *values, **opts):
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.
"""
More information about the Mercurial-devel
mailing list