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

Add a multiline template example.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 28 Apr 2009 23:33:11 -0700
parents
children
line wrap: on
line source

#!/bin/sh

hg init
echo a > test.c
hg ci -Am'First commit'

#$ name: go

cat > multiline << EOF
changeset = "Changed in {node|short}:\n{files}"
file = "  {file}\n"
EOF
hg log --style multiline