tests/test-pull
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 28 Aug 2006 21:49:02 +0200
changeset 3016 aebc3f64b20f
parent 2612 ffb895f16925
child 3736 ad3d5b4367cb
permissions -rwxr-xr-x
fix incorrect warning when walking on a particular rev when a directory was given instead of a file it reported incorrectly 'No such file or directory in rev <rev>' we test if the file is a prefix directory

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