hgbook

view en/examples/results/cmdref.diff-p.out @ 564:0d5935744f87

Switch from LaTeX to XML for examples.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon Mar 09 21:39:23 2009 -0700 (2009-03-09)
parents 44d1363234d2
children 4432ad34b8e5
line source
1 <screen><prompt>$</prompt> <userinput>echo '[diff]' &gt;&gt; $HGRC</userinput>
2 <prompt>$</prompt> <userinput>echo 'showfunc = False' &gt;&gt; $HGRC</userinput>
3 <prompt>$</prompt> <userinput>hg diff</userinput>
4 diff -r myfile.c
7 @@ -1,4 +1,4 @@
8 int myfunc()
9 {
10 - return 1;
11 + return 10;
12 }
13 <prompt>$</prompt> <userinput>hg diff -p</userinput>
14 diff -r myfile.c
17 @@ -1,4 +1,4 @@
18 int myfunc()
19 {
20 - return 1;
21 + return 10;
22 }
23 </screen>