view tests/test-pull @ 1759:5afd459db177

Sunpro compiler patch The compiling runs through without warning, but runnig the newly builded hg emmits a message: | ImportError: ld.so.1: python: fatal: relocation error: | file /opt/local/lib/python2.3/site-packages/mercurial/bdiff.so: | symbol cmp: referenced symbol not found Removing the inline infront of cmp corrects this error message.
author Fabian Otto <sigsegv@alchiba.ni.cs.tu-berlin.de>
date Mon, 20 Feb 2006 15:58:04 -0600
parents 385b06493465
children ffb584a182d1
line wrap: on
line source

#!/bin/sh

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m 1
hg verify
serverpid=`mktemp`
hg serve -p 20059 -d --pid-file=$serverpid
cd ..

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

kill `cat $serverpid`
rm $serverpid