Mercurial > hgbook
view en/examples/results/cmdref.diff-p.out @ 744:1114da00d30e
Fix '<programlisting>' in ch02-tour-basic.xml
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Wed, 18 Mar 2009 19:43:46 +0800 |
parents | 0d5935744f87 |
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>