view en/examples/cmdref @ 145:4aecfa5c3ab0

Drop all output from bisect. It's not running deterministically right now.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 06 Mar 2007 21:55:07 -0800
parents 1e013fbe35f7
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