view es/examples/cmdref @ 747:e0ac2341a861

Fix building error introduced by bos at rev 8366882f67f2
author Dongsheng Song <dongsheng.song@gmail.com>
date Wed, 18 Mar 2009 21:50:57 +0800
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