Mercurial > hgbook
view ja/examples/mq.dodiff.diff.out @ 788:b3c384b30e11
Added tag finished draft translation for changeset ec889c068d46
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 07 Jun 2009 20:28:35 +0900 |
parents | b0db5adf11c1 |
children |
line wrap: on
line source
$ \textbf{echo 'this is my original thought' > oldfile} $ \textbf{echo 'i have changed my mind' > newfile} $ \textbf{diff -u oldfile newfile > tiny.patch} $ \textbf{cat tiny.patch} @@ -1 +1 @@ -this is my original thought +i have changed my mind $ \textbf{patch < tiny.patch} patching file oldfile $ \textbf{cat oldfile} i have changed my mind