hgbook

view en/examples/mq.diff @ 25:9d5b6d303ef5

Make it 2/3 through documenting MQ commands.
Add a note on a few quirks of how patches represent data.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun Jul 09 23:18:39 2006 -0700 (2006-07-09)
parents
children 5cee64874312
line source
1 #$ name: diff
3 echo 'this is my first line' > oldfile
4 echo 'my first line is here' > newfile
6 diff -u oldfile newfile > tiny.patch
8 cat tiny.patch
10 patch < tiny.patch
12 cat newfile