mercurial/help/templates.txt
changeset 32875 c8f2cf18b82e
parent 32139 de86a6872d06
child 32952 61b60b28c381
--- a/mercurial/help/templates.txt	Sat May 06 17:41:05 2017 +0900
+++ b/mercurial/help/templates.txt	Sat Apr 22 20:14:55 2017 +0900
@@ -109,6 +109,14 @@
 
   $ hg log -r . -Tnodedate
 
+A template defined in ``templates`` section can also be referenced from
+another template::
+
+  $ hg log -r . -T "{rev} {nodedate}"
+
+but be aware that the keywords cannot be overridden by templates. For example,
+a template defined as ``templates.rev`` cannot be referenced as ``{rev}``.
+
 Examples
 ========