hgbook

annotate en/examples/ch10/multiline @ 732:1c31e38a9720

Complete revision of Ch.2.
author Giulio@puck
date Sun Jun 28 17:18:56 2009 +0200 (2009-06-28)
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