hgbook
view en/examples/mq.dodiff.diff.out @ 161:7f07aca44938
Write up the unpleasant effects of change ef1f1a4b2efb in the hg tree.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 26 21:58:24 2007 -0700 (2007-03-26) |
parents | |
children | bdd271cf1ae1 |
line source
1 $ \textbf{echo 'this is my first line' > oldfile}
2 $ \textbf{echo 'my first line is here' > newfile}
3 $ \textbf{diff -u oldfile newfile > tiny.patch}
4 $ \textbf{cat tiny.patch}
7 @@ -1 +1 @@
8 -this is my first line
9 +my first line is here
10 $ \textbf{patch < tiny.patch}
11 patching file oldfile
12 $ \textbf{cat newfile}
13 my first line is here