hgbook

diff en/examples/ch10/multiline @ 908:b25f69ea9d4c

Place equations' comments just after the equations, in the same table.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 21:15:33 2009 +0100 (2009-10-26)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/examples/ch10/multiline	Mon Oct 26 21:15:33 2009 +0100
     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