view ja/examples/extdiff @ 799:7107b79427a3

Propagate 4e23c220d1b0 Update chapter 2
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 18 Jun 2009 19:11:36 +0900
parents b0db5adf11c1
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