hgbook

annotate 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
rev   line source
bos@226 1 #!/bin/bash
bos@226 2
bos@226 3 echo '[extensions]' >> $HGRC
bos@226 4 echo 'extdiff =' >> $HGRC
bos@226 5
bos@226 6 hg init a
bos@226 7 cd a
bos@226 8 echo 'The first line.' > myfile
bos@226 9 hg ci -Ama
bos@226 10 echo 'The second line.' >> myfile
bos@226 11
bos@226 12 #$ name: diff
bos@226 13
bos@226 14 hg diff
bos@226 15
bos@226 16 #$ name: extdiff
bos@226 17
bos@226 18 hg extdiff
bos@226 19
bos@226 20 #$ name: extdiff-ctx
bos@226 21
bos@226 22 hg extdiff -o -NprcC5
bos@226 23
bos@226 24 #$ name:
bos@226 25
bos@226 26 exit 0