Mercurial > hg
diff tests/test-mq-caches @ 8523:5b7da468531b
tests: replace #...# syntax with {...}
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 19 May 2009 23:02:17 +0200 |
parents | 816b708f23af |
children | bb5ea66789e3 |
line wrap: on
line diff
--- a/tests/test-mq-caches Fri May 15 09:43:30 2009 +0200 +++ b/tests/test-mq-caches Tue May 19 23:02:17 2009 +0200 @@ -8,7 +8,7 @@ { # force cache (re)generation hg log -r does-not-exist 2> /dev/null - hg log -r tip --template 'tip: #rev#\n' + hg log -r tip --template 'tip: {rev}\n' if [ -f $branches ]; then sort $branches else @@ -16,7 +16,7 @@ fi if [ "$1" = 1 ]; then for b in foo bar; do - hg log -r $b --template "branch $b: "'#rev#\n' + hg log -r $b --template "branch $b: "'{rev}\n' done fi } @@ -68,7 +68,7 @@ echo '# importing rev 1 (the cache now ends in one of the patches)' hg qimport -r 1 -n p0 show_branch_cache 1 -hg log -r qbase --template 'qbase: #rev#\n' +hg log -r qbase --template 'qbase: {rev}\n' echo echo '# detect an invalid cache'