Mercurial > hgbook
view en/examples/results/cmdref.diff-p.out @ 663:0d5935744f87
Switch from LaTeX to XML for examples.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 09 Mar 2009 21:39:23 -0700 |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
line wrap: on
line source
<screen><prompt>$</prompt> <userinput>echo '[diff]' >> $HGRC</userinput> <prompt>$</prompt> <userinput>echo 'showfunc = False' >> $HGRC</userinput> <prompt>$</prompt> <userinput>hg diff</userinput> diff -r myfile.c @@ -1,4 +1,4 @@ int myfunc() { - return 1; + return 10; } <prompt>$</prompt> <userinput>hg diff -p</userinput> diff -r myfile.c @@ -1,4 +1,4 @@ int myfunc() { - return 1; + return 10; } </screen>