hgbook

view en/examples/cmdref.diff-p.out @ 946:1f2044943861

Oops, overwrite some of my translation by adding Hugues works... Corrected.
author Romain PELISSE <belaran@gmail.com>
date Mon Feb 16 18:51:52 2009 +0100 (2009-02-16)
parents
children c4d24e64ec1f
line source
1 $ \textbf{echo '[diff]' >> $HGRC}
2 $ \textbf{echo 'showfunc = False' >> $HGRC}
3 $ \textbf{hg diff}
4 diff -r myfile.c
7 @@ -1,4 +1,4 @@
8 int myfunc()
9 \{
10 - return 1;
11 + return 10;
12 \}
13 $ \textbf{hg diff -p}
14 diff -r myfile.c
17 @@ -1,4 +1,4 @@ int myfunc()
18 int myfunc()
19 \{
20 - return 1;
21 + return 10;
22 \}