hgbook

view en/examples/extdiff @ 299:2936cb7eae7a

Fix sample output for test 'branch-named'.
author Guido Ostkamp <hg@ostkamp.fastmail.fm>
date Wed Aug 20 21:55:35 2008 +0200 (2008-08-20)
parents eef2171243e8
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