tests/test-pull
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 01 Feb 2006 08:46:24 +0100
changeset 1674 dee55c4a4963
parent 814 0902ffece4b4
child 1744 385b06493465
child 1927 397b62d5dd13
permissions -rwxr-xr-x
abort when using 'update -m' and this is not a merge add more testcases for updating with local changes

#!/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 $!