comparison tests/test-command-template @ 7879:5c4026a289a4

templater: ability to display diffstat for log-like commands
author Alexander Solovyov <piranha at piranha.org.ua>
date Mon, 23 Mar 2009 10:41:42 +0100
parents 9c8bbae02e9c
children 8c5f1b28e0bb
comparison
equal deleted inserted replaced
7878:8c09952cd39a 7879:5c4026a289a4
91 hg log --style=changelog > changelog 91 hg log --style=changelog > changelog
92 cat changelog 92 cat changelog
93 93
94 echo "# keys work" 94 echo "# keys work"
95 for key in author branches date desc file_adds file_dels file_mods \ 95 for key in author branches date desc file_adds file_dels file_mods \
96 files manifest node parents rev tags; do 96 files manifest node parents rev tags diffstat; do
97 for mode in '' --verbose --debug; do 97 for mode in '' --verbose --debug; do
98 hg log $mode --template "$key$mode: {$key}\n" 98 hg log $mode --template "$key$mode: {$key}\n"
99 done 99 done
100 done 100 done
101 101