view en/examples/extdiff @ 433:83790457e85b

modifications to generate the examples for the book
author jerojasro@localhost
date Sat, 18 Oct 2008 12:07:16 -0500
parents 9be45345065a
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