Patchwork [5,of,7] help: document about "status" template keywords

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

Comments

Yuya Nishihara - Oct. 7, 2018, 2:32 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538921524 -32400
#      Sun Oct 07 23:12:04 2018 +0900
# Node ID e1f1625854c332aee3f5aa0207891dff0d5371e7
# Parent  d1b6f5e6f40350df11ecd25c70c724ab8082ce96
help: document about "status" template keywords

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5229,6 +5229,16 @@  def status(ui, repo, *pats, **opts):
       ``commands.status.skipstates`` to one or more of: 'bisect', 'graft',
       'histedit', 'merge', 'rebase', or 'unshelve'.
 
+      Template:
+
+      The following keywords are supported in addition to the common template
+      keywords and functions. See also :hg:`help templates`.
+
+      :path:    String. Repository-absolute path of the file.
+      :source:  String. Repository-absolute path of the file originated from.
+                Available if ``--copies`` is specified.
+      :status:  String. Character denoting file's status.
+
       Examples:
 
       - show changes in the working directory relative to a