Mercurial > hgbook
view en/examples/results/cmdref.diff-p.out @ 709:4432ad34b8e5
Check in example outputs with begin/end markers.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 31 Mar 2009 12:19:01 -0700 |
parents | 0d5935744f87 |
children |
line wrap: on
line source
<!-- BEGIN cmdref.diff-p --> <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> <!-- END cmdref.diff-p -->