hgbook
diff en/examples/ch10/multiline @ 1066:cd081566e692
1.8 refined
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Wed Nov 11 17:51:44 2009 -0500 (2009-11-11) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/ch10/multiline Wed Nov 11 17:51:44 2009 -0500 1.3 @@ -0,0 +1,13 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +hg init 1.7 +echo a > test.c 1.8 +hg ci -Am'First commit' 1.9 + 1.10 +#$ name: go 1.11 + 1.12 +cat > multiline << EOF 1.13 +changeset = "Changed in {node|short}:\n{files}" 1.14 +file = " {file}\n" 1.15 +EOF 1.16 +hg log --style multiline