view es/examples/cmdref @ 608:e98a8c3afcef

finished revision of intro.tex. there are some standing issues yet, though
author Javier Rojas <jerojasro@devnull.li>
date Mon, 12 Jan 2009 19:45:41 -0500
parents 04c08ad7e92e
children
line wrap: on
line source

#!/bin/bash

hg init diff
cd diff
cat > myfile.c <<EOF
int myfunc()
{
    return 1;
}
EOF
hg ci -Ama

sed -ie 's/return 1/return 10/' myfile.c

#$ name: diff-p

echo '[diff]' >> $HGRC
echo 'showfunc = False' >> $HGRC

hg diff

hg diff -p