log
graph
tags
branches
changeset
browse
file
latest
diff
annotate
file log
raw
hgbook
view es/examples/mq.dodiff @ 827:632d4854b2b2
find changesets by author, revision, files, or words in the commit message
Wording.
author
Giulio@puck
date
Sun Aug 16 10:31:53 2009 +0200 (2009-08-16)
parents
children
line source
1
#!/bin/bash
2
3
#$ name: diff
4
5
echo 'this is my original thought' > oldfile
6
echo 'i have changed my mind' > newfile
7
8
diff -u oldfile newfile > tiny.patch
9
10
cat tiny.patch
11
12
patch < tiny.patch
13
14
cat oldfile