tests/test-pull
author Bryan O'Sullivan <bos@serpentine.com>
Mon, 16 Jul 2007 18:01:20 -0700
changeset 4888 2d545b98a7bc
parent 3736 ad3d5b4367cb
child 5384 e3a0c092b4e2
permissions -rwxr-xr-x
issue 622: pull/unbundle -u updates to default branch if repo was empty

#!/bin/sh

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

http_proxy= hg clone --pull http://localhost:20059/ copy
cd copy
hg verify
hg co
cat foo
hg manifest --debug
hg pull

echo % issue 622
cd ..
hg init empty
cd empty
hg pull -u ../test