hgbook

view es/examples/extdiff @ 461:67d34d8b6ba0

translated up to the "writing an in-process hook" section
author Javier Rojas <jerojasro@devnull.li>
date Tue Dec 23 12:57:21 2008 -0500 (2008-12-23)
parents
children
line source
1 #!/bin/bash
3 echo '[extensions]' >> $HGRC
4 echo 'extdiff =' >> $HGRC
6 hg init a
7 cd a
8 echo 'The first line.' > myfile
9 hg ci -Ama
10 echo 'The second line.' >> myfile
12 #$ name: diff
14 hg diff
16 #$ name: extdiff
18 hg extdiff
20 #$ name: extdiff-ctx
22 #$ ignore: ^\*\*\* a.*
24 hg extdiff -o -NprcC5
26 #$ name:
28 exit 0