hgbook

view en/examples/ch10/multiline @ 696:9e33729cafae

Add a multiline template example.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Apr 28 23:33:11 2009 -0700 (2009-04-28)
parents
children
line source
1 #!/bin/sh
3 hg init
4 echo a > test.c
5 hg ci -Am'First commit'
7 #$ name: go
9 cat > multiline << EOF
10 changeset = "Changed in {node|short}:\n{files}"
11 file = " {file}\n"
12 EOF
13 hg log --style multiline