diff tests/test-git-import @ 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 477136fa6571
children 9e2ab10728a2
line wrap: on
line diff
--- a/tests/test-git-import	Sun Dec 13 18:06:24 2009 +0100
+++ b/tests/test-git-import	Sun Dec 13 18:06:24 2009 +0100
@@ -141,7 +141,7 @@
 rename from rename2
 rename to rename3-2
 EOF
-hg log -vCr. --template '{rev} {files} / {file_copies%filecopy}\n'
+hg log -vr. --template '{rev} {files} / {file_copies%filecopy}\n'
 
 hg locate rename2 rename3 rename3-2
 hg cat rename3