changeset 9307:2715506d54e4

keyword: reference templating help, add utcdate filter example
author Christian Ebert <blacktrash@gmx.net>
date Wed, 05 Aug 2009 17:20:47 +0200
parents 7bd1b663727d
children 6fdd39f52f7f
files hgext/keyword.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Wed Aug 05 17:20:47 2009 +0200
+++ b/hgext/keyword.py	Wed Aug 05 17:20:47 2009 +0200
@@ -49,9 +49,11 @@
 lose speed in huge repositories.
 
 For [keywordmaps] template mapping and expansion demonstration and
-control run "hg kwdemo".
+control run "hg kwdemo". See "hg help templates" for a list of
+available templates and filters.
 
-An additional date template filter {date|utcdate} is provided.
+An additional date template filter {date|utcdate} is provided. It
+returns a date like "2006/09/18 15:13:13".
 
 The default template mappings (view with "hg kwdemo -d") can be
 replaced with customized keywords and templates. Again, run "hg
@@ -280,6 +282,8 @@
     and using -f/--rcfile to source an external hgrc file.
 
     Use -d/--default to disable current configuration.
+
+    See "hg help templates" for information on templates and filters.
     '''
     def demoitems(section, items):
         ui.write('[%s]\n' % section)