author | Thomas Arendsen Hein <thomas@intevation.de> |
Fri, 29 Jul 2005 15:59:10 +0100 | |
changeset 802 | 69db1e34378b |
parent 800 | ec85f9e6f3b1 |
child 808 | 8f5637f0a0c0 |
permissions | -rwxr-xr-x |
536 | 1 |
#!/bin/sh |
2 |
||
3 |
hg init |
|
4 |
touch a |
|
5 |
hg add a |
|
749
7e4843b7efd2
Update tests to use commit -m and default -u
mpm@selenic.com
parents:
536
diff
changeset
|
6 |
hg ci -m "a" -d "0 0" |
536 | 7 |
|
8 |
echo 123 > b |
|
9 |
hg add b |
|
800
ec85f9e6f3b1
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
10 |
hg diff | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" |
536 | 11 |
|
800
ec85f9e6f3b1
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
793
diff
changeset
|
12 |
hg diff -r tip | sed "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" |