hgbook

annotate en/examples/mq.dodiff.diff.out @ 547:c4d24e64ec1f

Change output of cmdref
author Bryan O'Sullivan <bos@serpentine.com>
date Thu Jan 29 22:30:48 2009 -0800 (2009-01-29)
parents bdd271cf1ae1
children
rev   line source
bos@289 1 $ \textbf{echo 'this is my original thought' > oldfile}
bos@289 2 $ \textbf{echo 'i have changed my mind' > newfile}
bos@144 3 $ \textbf{diff -u oldfile newfile > tiny.patch}
bos@144 4 $ \textbf{cat tiny.patch}
bos@144 5
bos@144 6
bos@144 7 @@ -1 +1 @@
bos@289 8 -this is my original thought
bos@289 9 +i have changed my mind
bos@144 10 $ \textbf{patch < tiny.patch}
bos@144 11 patching file oldfile
bos@253 12 $ \textbf{cat oldfile}
bos@289 13 i have changed my mind