hgbook
diff en/examples/mq.diff @ 26:1bc6c1f0192a
More MQ content.
Skeletal preface.
Skeletal preface.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Jul 11 23:48:25 2006 -0700 (2006-07-11) |
parents | |
children | 5cee64874312 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/en/examples/mq.diff Tue Jul 11 23:48:25 2006 -0700 1.3 @@ -0,0 +1,12 @@ 1.4 +#$ name: diff 1.5 + 1.6 +echo 'this is my first line' > oldfile 1.7 +echo 'my first line is here' > newfile 1.8 + 1.9 +diff -u oldfile newfile > tiny.patch 1.10 + 1.11 +cat tiny.patch 1.12 + 1.13 +patch < tiny.patch 1.14 + 1.15 +cat newfile