hgbook

annotate en/examples/ch10/multiline @ 1104:eafa27cb18eb

2.8.1 2 paras zh translated
author Zhaoping Sun <zhaopingsun@gmail.com>
date Wed Nov 25 22:54:30 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