# HG changeset patch # User Christian Ebert # Date 1249484204 -7200 # Node ID 49307521cf96a5d6a513082cca7331b67f242798 # Parent f2fa2ae4a4c95e82171207960eebd7d38b9044a5 Reference templating help, add utcdate filter example diff -r f2fa2ae4a4c9 -r 49307521cf96 hgkw/keyword.py --- a/hgkw/keyword.py Wed Aug 05 16:56:36 2009 +0200 +++ b/hgkw/keyword.py Wed Aug 05 16:56:44 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)