[PATCH 6 of 7] help: document about "tags" template keywords
Yuya Nishihara
yuya at tcha.org
Sun Oct 7 10:32:29 EDT 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1538921661 -32400
# Sun Oct 07 23:14:21 2018 +0900
# Node ID 4df2ec2902c502325e8276ce8f190ee61f2e4367
# Parent e1f1625854c332aee3f5aa0207891dff0d5371e7
help: document about "tags" template keywords
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5764,6 +5764,16 @@ def tags(ui, repo, **opts):
switch is used, a third column "local" is printed for local tags.
When the -q/--quiet switch is used, only the tag name is printed.
+ .. container:: verbose
+
+ Template:
+
+ The following keywords are supported in addition to the common template
+ keywords and functions such as ``{tag}``. See also
+ :hg:`help templates`.
+
+ :type: String. ``local`` for local tags.
+
Returns 0 on success.
"""
More information about the Mercurial-devel
mailing list