diff tests/test-command-template @ 10260:fe699ca08a45

templatekw: fix extras, manifest and showlist args (issue1989) Removing the explicit parameters from keywords signature is easier than copying and reproducing the original argument list.
author Patrick Mezard <pmezard@gmail.com>
date Mon, 18 Jan 2010 22:59:32 +0100
parents af24805aa37c
children ace5bd98bee3
line wrap: on
line diff
--- a/tests/test-command-template	Mon Jan 18 15:38:31 2010 -0200
+++ b/tests/test-command-template	Mon Jan 18 22:59:32 2010 +0100
@@ -195,4 +195,13 @@
 EOF
 hg -R latesttag tip
 
+echo '# test recursive showlist template (issue1989)'
+cat > style1989 <<EOF
+changeset = '{file_mods}{manifest}{extras}'
+file_mod  = 'M|{author|person}\n'
+manifest = '{rev},{author}\n'
+extra = '{key}: {author}\n'
+EOF
+hg -R latesttag log -r tip --style=style1989
+
 echo '# done'