tests/test-pull
author Brendan Cully <brendan@kublai.com>
Wed, 19 Jul 2006 07:52:16 -0700
changeset 2639 001703ec311d
parent 2612 ffb895f16925
child 3736 ad3d5b4367cb
permissions -rwxr-xr-x
Add an option '-C|--copies' to hg status to show the source of copied files. Copied files are displayed in the form: A newname oldname

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