hgbook

annotate ja/examples/mq.dodiff.diff.out @ 850:5bbebcdfb533

You wouldn't believe me if I told you.
author gpiancastelli
date Sat Aug 22 18:49:12 2009 +0200 (2009-08-22)
parents
children
rev   line source
foozy@708 1 $ \textbf{echo 'this is my first line' > oldfile}
foozy@708 2 $ \textbf{echo 'my first line is here' > newfile}
foozy@708 3 $ \textbf{diff -u oldfile newfile > tiny.patch}
foozy@708 4 $ \textbf{cat tiny.patch}
foozy@708 5
foozy@708 6
foozy@708 7 @@ -1 +1 @@
foozy@708 8 -this is my first line
foozy@708 9 +my first line is here
foozy@708 10 $ \textbf{patch < tiny.patch}
foozy@708 11 patching file oldfile
foozy@708 12 $ \textbf{cat oldfile}
foozy@708 13 my first line is here