hgbook

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