tests/test-pull
author Patrick Mezard <pmezard@gmail.com>
Mon, 13 Aug 2007 19:42:52 +0200
changeset 5163 b51d07ed1b18
parent 4891 2d545b98a7bc
child 5384 e3a0c092b4e2
permissions -rwxr-xr-x
demandimport: ignore pwd and grp. Both are unavailable under Windows and tarfile detects them via ImportError.

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