hgbook

view en/examples/results/cmdref.diff-p.out @ 611:4432ad34b8e5

Check in example outputs with begin/end markers.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 31 12:19:01 2009 -0700 (2009-03-31)
parents 0d5935744f87
children
line source
1 <!-- BEGIN cmdref.diff-p -->
2 <screen><prompt>$</prompt> <userinput>echo '[diff]' &gt;&gt; $HGRC</userinput>
3 <prompt>$</prompt> <userinput>echo 'showfunc = False' &gt;&gt; $HGRC</userinput>
4 <prompt>$</prompt> <userinput>hg diff</userinput>
5 diff -r myfile.c
8 @@ -1,4 +1,4 @@
9 int myfunc()
10 {
11 - return 1;
12 + return 10;
13 }
14 <prompt>$</prompt> <userinput>hg diff -p</userinput>
15 diff -r myfile.c
18 @@ -1,4 +1,4 @@
19 int myfunc()
20 {
21 - return 1;
22 + return 10;
23 }
24 </screen>
25 <!-- END cmdref.diff-p -->