changeset 10759:9f6e30a89f11 stable

help: point out need for stringification
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 23 Mar 2010 11:48:14 +0100
parents 32023a0a389b
children bdb60057f905
files mercurial/help/templates.txt
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/templates.txt	Tue Mar 23 10:18:46 2010 +0100
+++ b/mercurial/help/templates.txt	Tue Mar 23 11:48:14 2010 +0100
@@ -66,8 +66,9 @@
 The "date" keyword does not produce human-readable output. If you
 want to use a date in your output, you can use a filter to process
 it. Filters are functions which return a string based on the input
-variable. You can also use a chain of filters to get the desired
-output::
+variable. Be sure to use the stringify filter first when you're
+applying a string-input filter to a list-like input variable.
+You can also use a chain of filters to get the desired output::
 
    $ hg tip --template "{date|isodate}\n"
    2008-08-21 18:22 +0000