log
graph
tags
branches
changeset
browse
file
latest
diff
annotate
file log
raw
hgbook
view es/examples/mq.dodiff @ 788:1bd3a2ecb828
find changesets by author, revision, files, or words in the commit message
Wording.
author
Giulio@puck
date
Tue Aug 11 19:02:09 2009 +0200 (2009-08-11)
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