tests/test-pull
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 28 Oct 2005 17:18:50 -0700
changeset 1479 1a3c6689ef2b
parent 814 0902ffece4b4
child 1744 385b06493465
child 1927 397b62d5dd13
permissions -rwxr-xr-x
fix a bug where hg could remove file ending with .tmp util.opener used a fixed filename for writing tempfile instead of using the tempfile module.

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