view es/examples/extdiff @ 709:4432ad34b8e5

Check in example outputs with begin/end markers.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 31 Mar 2009 12:19:01 -0700
parents 04c08ad7e92e
children
line wrap: on
line source

#!/bin/bash

echo '[extensions]' >> $HGRC
echo 'extdiff =' >> $HGRC

hg init a
cd a
echo 'The first line.' > myfile
hg ci -Ama
echo 'The second line.' >> myfile

#$ name: diff

hg diff

#$ name: extdiff

hg extdiff

#$ name: extdiff-ctx

#$ ignore: ^\*\*\* a.*

hg extdiff -o -NprcC5

#$ name:

exit 0