Mercurial > public > mercurial-scm > hg
diff tests/test-command-template @ 10059:9dd4e2859482
test-command-template: test 'file_copies' keyword
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 13 Dec 2009 18:06:24 +0100 |
parents | 0aa1a632262b |
children | f780b1098efc |
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 @@ -32,6 +32,7 @@ hg commit -m second -d '1000000 0' -u 'User Name <user@hostname>' echo third > third hg add third +hg mv second fourth hg commit -m third -d "2020-01-01 10:01" # make sure user/global hgrc does not affect tests @@ -93,7 +94,8 @@ echo "# keys work" for key in author branches date desc file_adds file_dels file_mods \ - files manifest node parents rev tags diffstat extras; do + 'file_copies%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