Mercurial > hg
comparison tests/test-bheads @ 8523:5b7da468531b
tests: replace #...# syntax with {...}
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 19 May 2009 23:02:17 +0200 |
parents | 25c372e8f261 |
children | fd511e9eeea6 |
comparison
equal
deleted
inserted
replaced
8522:39fd67552297 | 8523:5b7da468531b |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 heads() | 3 heads() |
4 { | 4 { |
5 hg heads --template '#rev#: #desc|firstline|strip#\n' "$@" | 5 hg heads --template '{rev}: {desc|firstline|strip}\n' "$@" |
6 } | 6 } |
7 | 7 |
8 hg init a | 8 hg init a |
9 cd a | 9 cd a |
10 echo 'root' >root | 10 echo 'root' >root |