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

login
register
mail settings
Submitter Yuya Nishihara
Date Sept. 30, 2018, 1:43 p.m.
Message ID <dde92f923c17352ab1ef.1538315031@mimosa>
Download mbox | patch
Permalink /patch/35223/
State Superseded
Headers show

Comments

Yuya Nishihara - Sept. 30, 2018, 1:43 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538291495 -32400
#      Sun Sep 30 16:11:35 2018 +0900
# Node ID dde92f923c17352ab1ef3282ec7e4af06160dea9
# Parent  d954a8babb5886ee0331265d3994fdcd52983f50
help: document about "files" template keywords

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2051,6 +2051,15 @@  def files(ui, repo, *pats, **opts):
 
     .. container:: verbose
 
+      Template:
+
+      The following keywords are supported in addition to the common template
+      keywords and functions. See also :hg:`help templates`.
+
+      :flags:   String. Character denoting file's symlink and executable bits.
+      :path:    String. Repository-absolute path of the file.
+      :size:    Integer. Size of the file in bytes.
+
       Examples:
 
       - list all files under the current directory::