view tests/test-pull @ 640:b48b91d3fb4a

Switch push over to the new scheme Now push works transparently with any repo with lock and addchangegroup. Currently this is local repos and ssh.
author Matt Mackall <mpm@selenic.com>
date Wed, 06 Jul 2005 22:25:40 -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 $!