view tests/test-pull @ 625:978011cf5279

Cleanups for repo.pull Use repo.pull in pull and clone commands Teach clone about ssh:// (temporarily) Fix up shutil issue on failed pull
author Matt Mackall <mpm@selenic.com>
date Tue, 05 Jul 2005 18:12:57 -0800
parents d96c1153b25d
children 5d6177b72fcc
line wrap: on
line source

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