tests/test-diffdir
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 23 Jul 2005 17:09:37 +0100
changeset 790 d7380783a086
parent 749 7e4843b7efd2
child 774 6592c4f5cd4f
child 793 445970ccf57a
permissions -rwxr-xr-x
Make test-pull work on slow machines, where hg serve needs some time to start.

#!/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.*/\1/"

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