hgbook
diff en/examples/extdiff @ 226:eef2171243e8
Document the extdiff extension.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sat May 26 11:52:18 2007 -0700 (2007-05-26) |
parents | |
children | 9be45345065a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/extdiff Sat May 26 11:52:18 2007 -0700 1.3 @@ -0,0 +1,26 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +echo '[extensions]' >> $HGRC 1.7 +echo 'extdiff =' >> $HGRC 1.8 + 1.9 +hg init a 1.10 +cd a 1.11 +echo 'The first line.' > myfile 1.12 +hg ci -Ama 1.13 +echo 'The second line.' >> myfile 1.14 + 1.15 +#$ name: diff 1.16 + 1.17 +hg diff 1.18 + 1.19 +#$ name: extdiff 1.20 + 1.21 +hg extdiff 1.22 + 1.23 +#$ name: extdiff-ctx 1.24 + 1.25 +hg extdiff -o -NprcC5 1.26 + 1.27 +#$ name: 1.28 + 1.29 +exit 0