view tests/test-pull @ 790:d7380783a086

Make test-pull work on slow machines, where hg serve needs some time to start.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 23 Jul 2005 17:09:37 +0100
parents 7e4843b7efd2
children 445970ccf57a
line wrap: on
line source

#!/bin/sh

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m 1
hg verify
hg serve -p 20059 > /dev/null &
sleep 1 # wait for server to be started
cd ..

hg clone http://localhost:20059/ copy
cd copy
hg verify
hg co
cat foo
hg manifest
hg pull

kill $!