diff tests/test-command-template @ 10060:f780b1098efc

templatekw: change {file_copies} behaviour, add {file_copies_switch} {file_copies} template now displays file copies with or without the --copies switch being set. A new {file_copies_switch} template implements the former behaviour.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 13 Dec 2009 18:06:24 +0100
parents 9dd4e2859482
children 9e2ab10728a2
line wrap: on
line diff
--- a/tests/test-command-template	Sun Dec 13 18:06:24 2009 +0100
+++ b/tests/test-command-template	Sun Dec 13 18:06:24 2009 +0100
@@ -94,8 +94,8 @@
 
 echo "# keys work"
 for key in author branches date desc file_adds file_dels file_mods \
-        'file_copies%filecopy' files manifest node parents rev tags diffstat \
-        extras; do
+        'file_copies%filecopy' 'file_copies_switch%filecopy' files \
+        manifest node parents rev tags diffstat extras; do
     for mode in '' --verbose --debug; do
         hg log $mode --template "$key$mode: {$key}\n"
     done