hgbook
annotate ja/examples/mq.dodiff.diff.out @ 1104:eafa27cb18eb
2.8.1 2 paras zh translated
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Wed Nov 25 22:54:30 2009 -0500 (2009-11-25) |
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 |