[PATCH 7 of 7] help: document about "files" template keywords
Yuya Nishihara
yuya at tcha.org
Sun Sep 30 09:43:51 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 dde92f923c17352ab1ef3282ec7e4af06160dea9
# Parent d954a8babb5886ee0331265d3994fdcd52983f50
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