hgbook

diff 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 diff
     1.1 --- a/en/examples/results/cmdref.diff-p.out	Mon Mar 09 21:37:47 2009 -0700
     1.2 +++ b/en/examples/results/cmdref.diff-p.out	Mon Mar 09 21:39:23 2009 -0700
     1.3 @@ -1,22 +1,23 @@
     1.4 -$ \textbf{echo '[diff]' >> $HGRC}
     1.5 -$ \textbf{echo 'showfunc = False' >> $HGRC}
     1.6 -$ \textbf{hg diff}
     1.7 +<screen><prompt>$</prompt> <userinput>echo '[diff]' &gt;&gt; $HGRC</userinput>
     1.8 +<prompt>$</prompt> <userinput>echo 'showfunc = False' &gt;&gt; $HGRC</userinput>
     1.9 +<prompt>$</prompt> <userinput>hg diff</userinput>
    1.10  diff -r  myfile.c
    1.11  
    1.12  
    1.13  @@ -1,4 +1,4 @@
    1.14   int myfunc()
    1.15 - \{
    1.16 + {
    1.17  -    return 1;
    1.18  +    return 10;
    1.19 - \}
    1.20 -$ \textbf{hg diff -p}
    1.21 + }
    1.22 +<prompt>$</prompt> <userinput>hg diff -p</userinput>
    1.23  diff -r  myfile.c
    1.24  
    1.25  
    1.26  @@ -1,4 +1,4 @@
    1.27   int myfunc()
    1.28 - \{
    1.29 + {
    1.30  -    return 1;
    1.31  +    return 10;
    1.32 - \}
    1.33 + }
    1.34 +</screen>