tests/test-diffdir
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 29 Jul 2005 06:43:21 +0100
changeset 793 445970ccf57a
parent 749 7e4843b7efd2
parent 774 6592c4f5cd4f
child 800 ec85f9e6f3b1
permissions -rwxr-xr-x
Merge with upstream

#!/bin/sh

hg init
touch a
hg add a
hg ci -m "a" -d "0 0"

echo 123 > b
hg add b
hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"

hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"