hgbook

annotate en/examples/cmdref.diff-p.out @ 931:9968b0ed4a38

First load of translation in the tour-basic
author Romain PELISSE <romain.pelisse@atosorigin.com>
date Sun Feb 08 23:39:21 2009 +0100 (2009-02-08)
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 \}