Mercurial > hg
changeset 40014:d6b3cb3c5b11
help: document about "cat" template keywords
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 03 Oct 2018 22:34:18 +0900 |
parents | d6e02248cdba |
children | c60c1d30a4b2 |
files | mercurial/commands.py |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Oct 03 22:38:49 2018 +0900 +++ b/mercurial/commands.py Wed Oct 03 22:34:18 2018 +0900 @@ -1358,6 +1358,16 @@ :``%b``: basename of the exporting repository :``\\``: literal "\\" character + .. container:: verbose + + Template: + + The following keywords are supported in addition to the common template + keywords and functions. See also :hg:`help templates`. + + :data: String. File content. + :path: String. Repository-absolute path of the file. + Returns 0 on success. """ opts = pycompat.byteskwargs(opts)