changeset 40112:288fdded64dd

help: document about "identify" template keywords
author Yuya Nishihara <yuya@tcha.org>
date Sun, 07 Oct 2018 22:56:37 +0900
parents 9967818a85fa
children 910eefeead82
files mercurial/commands.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Oct 07 22:50:12 2018 +0900
+++ b/mercurial/commands.py	Sun Oct 07 22:56:37 2018 +0900
@@ -3056,6 +3056,16 @@
 
     .. container:: verbose
 
+      Template:
+
+      The following keywords are supported in addition to the common template
+      keywords and functions. See also :hg:`help templates`.
+
+      :dirty:   String. Character ``+`` denoting if the working directory has
+                uncommitted changes.
+      :id:      String. One or two nodes, optionally followed by ``+``.
+      :parents: List of strings. Parent nodes of the changeset.
+
       Examples:
 
       - generate a build identifier for the working directory::