hgbook
annotate en/examples/ch10/multiline @ 1101:5b6b0d5fc1b8
2.7.3 zh translated
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Wed Nov 25 08:08:20 2009 -0500 (2009-11-25) |
parents | |
children |
rev | line source |
---|---|
bos@696 | 1 #!/bin/sh |
bos@696 | 2 |
bos@696 | 3 hg init |
bos@696 | 4 echo a > test.c |
bos@696 | 5 hg ci -Am'First commit' |
bos@696 | 6 |
bos@696 | 7 #$ name: go |
bos@696 | 8 |
bos@696 | 9 cat > multiline << EOF |
bos@696 | 10 changeset = "Changed in {node|short}:\n{files}" |
bos@696 | 11 file = " {file}\n" |
bos@696 | 12 EOF |
bos@696 | 13 hg log --style multiline |