hgbook

annotate ja/examples/mq.dodiff.diff.out @ 1078:708f570346a9

2.4.1 some para zh translated
author Zhaoping Sun <zhaopingsun@gmail.com>
date Wed Nov 18 22:22:34 2009 -0500 (2009-11-18)
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