hgbook
view en/examples/results/mq.dodiff.diff.out @ 614:c8680784cdbb
Make builds more reliable.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 31 15:35:44 2009 -0700 (2009-03-31) |
parents | 0d5935744f87 |
children |
line source
1 <!-- BEGIN mq.dodiff.diff -->
2 <screen><prompt>$</prompt> <userinput>echo 'this is my original thought' > oldfile</userinput>
3 <prompt>$</prompt> <userinput>echo 'i have changed my mind' > newfile</userinput>
4 <prompt>$</prompt> <userinput>diff -u oldfile newfile > tiny.patch</userinput>
5 <prompt>$</prompt> <userinput>cat tiny.patch</userinput>
8 @@ -1 +1 @@
9 -this is my original thought
10 +i have changed my mind
11 <prompt>$</prompt> <userinput>patch < tiny.patch</userinput>
12 patching file oldfile
13 <prompt>$</prompt> <userinput>cat oldfile</userinput>
14 i have changed my mind
15 </screen>
16 <!-- END mq.dodiff.diff -->