tests/test-pull
author Matt Mackall <mpm@selenic.com>
Wed, 06 Jul 2005 22:27:07 -0800
changeset 641 27f53edc02b9
parent 619 d96c1153b25d
child 642 5d6177b72fcc
permissions -rwxr-xr-x
Catch SIGHUP This should reduce the chance that a repo we're connected to via ssh gets interrupted without doing rollback.

#!/bin/sh

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -t "1"
hg verify
hg serve -p 20059 >/dev/null 2>&1 &
cd ..

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

kill $!