hgbook

annotate en/examples/mq.dodiff.diff.out @ 352:9f460a706292

translated a few sections from tour-basic.tex
author jerojasro@localhost
date Mon Oct 20 00:19:24 2008 -0500 (2008-10-20)
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