tests/test-pull
author Matt Mackall <mpm@selenic.com>
Tue, 17 Oct 2006 18:31:18 -0500
changeset 3432 028fff46a4ac
parent 2612 ffb895f16925
child 3736 ad3d5b4367cb
permissions -rwxr-xr-x
Add branchtags function with cache - cache stores tipmost node and rev and node,label pairs - if cache is out of date, scan new changesets - write new cache out after scan

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