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

Yuya Nishihara yuya at tcha.org
Mon Oct 1 07:15:40 EDT 2018


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1538291495 -32400
#      Sun Sep 30 16:11:35 2018 +0900
# Node ID 3e63fd2455abbeb9fa7af2a12e7e3e6d260ffd16
# Parent  f61b449768f46663d0df7e48a3c19f3e2174a8de
help: document about "files" template keywords

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


More information about the Mercurial-devel mailing list