Patchwork [6,of,7] help: document about "tags" template keywords

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 7, 2018, 2:32 p.m.
Message ID <4df2ec2902c502325e82.1538922749@mimosa>
Download mbox | patch
Permalink /patch/35538/
State New
Headers show

Comments

Yuya Nishihara - Oct. 7, 2018, 2:32 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538921661 -32400
#      Sun Oct 07 23:14:21 2018 +0900
# Node ID 4df2ec2902c502325e8276ce8f190ee61f2e4367
# Parent  e1f1625854c332aee3f5aa0207891dff0d5371e7
help: document about "tags" template keywords

Patch

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.
     """