hgbook

annotate en/examples/cmdref.diff-p.out @ 144:006bbad1f190

Add expected output files.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 06 21:44:56 2007 -0800 (2007-03-06)
parents
children c4d24e64ec1f
rev   line source
bos@144 1 $ \textbf{echo '[diff]' >> $HGRC}
bos@144 2 $ \textbf{echo 'showfunc = False' >> $HGRC}
bos@144 3 $ \textbf{hg diff}
bos@144 4 diff -r myfile.c
bos@144 5
bos@144 6
bos@144 7 @@ -1,4 +1,4 @@
bos@144 8 int myfunc()
bos@144 9 \{
bos@144 10 - return 1;
bos@144 11 + return 10;
bos@144 12 \}
bos@144 13 $ \textbf{hg diff -p}
bos@144 14 diff -r myfile.c
bos@144 15
bos@144 16
bos@144 17 @@ -1,4 +1,4 @@ int myfunc()
bos@144 18 int myfunc()
bos@144 19 \{
bos@144 20 - return 1;
bos@144 21 + return 10;
bos@144 22 \}