action/test2
author Paul Crowley <paul@lshift.net>
Tue, 01 Dec 2009 15:31:03 +0000
changeset 266 7cc208cbf2be
child 268 24145a4eb6fc
permissions -rwxr-xr-x
Runs a real live test of mercurial-server from beginning to end

#!/bin/sh

set -e

cd

cat > .ssh/config <<__END__
Host chroothg
Hostname localhost
User hg
Port 2222
__END__

hg clone ssh://chroothg/real/project
cd project
echo "and I'm adding something" >> content
hg commit -u test2 -m "Added something to the file"
hg push