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

login
register
mail settings
Submitter Yuya Nishihara
Date Oct. 1, 2018, 11:15 a.m.
Message ID <3e63fd2455abbeb9fa7a.1538392540@mimosa>
Download mbox | patch
Permalink /patch/35238/
State New
Headers show

Comments

Yuya Nishihara - Oct. 1, 2018, 11:15 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1538291495 -32400
#      Sun Sep 30 16:11:35 2018 +0900
# Node ID 3e63fd2455abbeb9fa7af2a12e7e3e6d260ffd16
# Parent  f61b449768f46663d0df7e48a3c19f3e2174a8de
help: document about "files" template keywords
Augie Fackler - Oct. 1, 2018, 1:58 p.m.
On Mon, Oct 01, 2018 at 08:15:40PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1538291495 -32400
> #      Sun Sep 30 16:11:35 2018 +0900
> # Node ID 3e63fd2455abbeb9fa7af2a12e7e3e6d260ffd16
> # Parent  f61b449768f46663d0df7e48a3c19f3e2174a8de
> help: document about "files" template keywords

queued, thanks

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::