tests/test-pull
author Bryan O'Sullivan <bos@serpentine.com>
Fri, 16 Sep 2005 14:50:06 -0700
changeset 1267 b0633406c07a
parent 814 0902ffece4b4
child 1744 385b06493465
child 1927 397b62d5dd13
permissions -rwxr-xr-x
Fix diff command so it doesn't walk the dirstate unnecessarily.

#!/bin/sh

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -m 1
hg verify
hg serve -p 20059 > /dev/null &
sleep 1 # wait for server to be started
cd ..

hg clone http://localhost:20059/ copy
cd copy
hg verify
hg co
cat foo
hg manifest
hg pull

kill $!