view es/examples/extdiff @ 590:795f2964e104

translated section 13.4
author Javier Rojas <jerojasro@devnull.li>
date Wed, 07 Jan 2009 22:26:07 -0500
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