Mercurial > hgbook
view en/examples/mq.dodiff @ 252:f2061ece8ed9
Fix file printed in first MQ "understanding patches" example
author | Alexandre Perrin <makoto.kaworu@gmail.com> |
---|---|
date | Wed, 30 May 2007 22:02:48 -0700 |
parents | dd657c4d3a47 |
children | cac3ac4536e5 |
line wrap: on
line source
#!/bin/bash #$ name: diff echo 'this is my first line' > oldfile echo 'my first line is here' > newfile diff -u oldfile newfile > tiny.patch cat tiny.patch patch < tiny.patch cat oldfile