tests/test-pull
author Hollis Blanchard <hollisb@us.ibm.com>
Mon, 25 Jun 2007 14:50:25 -0500
changeset 4719 1069205a8894
parent 3736 ad3d5b4367cb
child 4888 2d545b98a7bc
permissions -rwxr-xr-x
fix 'convert' with single commit repositories The attached patch passes the three 'convert' testcases, and also is able to successfully convert the git.git repository.

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