hgbook

annotate 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
rev   line source
bos@611 1 <!-- BEGIN cmdref.diff-p -->
bos@564 2 <screen><prompt>$</prompt> <userinput>echo '[diff]' &gt;&gt; $HGRC</userinput>
bos@564 3 <prompt>$</prompt> <userinput>echo 'showfunc = False' &gt;&gt; $HGRC</userinput>
bos@564 4 <prompt>$</prompt> <userinput>hg diff</userinput>
bos@144 5 diff -r myfile.c
bos@144 6
bos@144 7
bos@144 8 @@ -1,4 +1,4 @@
bos@144 9 int myfunc()
bos@564 10 {
bos@144 11 - return 1;
bos@144 12 + return 10;
bos@564 13 }
bos@564 14 <prompt>$</prompt> <userinput>hg diff -p</userinput>
bos@144 15 diff -r myfile.c
bos@144 16
bos@144 17
bos@547 18 @@ -1,4 +1,4 @@
bos@144 19 int myfunc()
bos@564 20 {
bos@144 21 - return 1;
bos@144 22 + return 10;
bos@564 23 }
bos@564 24 </screen>
bos@611 25 <!-- END cmdref.diff-p -->