view tests/test-schemes @ 10044:dc5462d94a72

Merge with stable
author Martin Geisler <mg@lazybytes.net>
date Sat, 12 Dec 2009 16:54:33 +0100
parents e600ad9bc257
children 9d1195b2f00d
line wrap: on
line source

#!/bin/sh

cat <<EOF >> $HGRCPATH
[extensions]
schemes=

[schemes]
l = http://localhost:$HGPORT/
EOF

hg init test
cd test
echo a > a
hg ci -Am initial

hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
cat hg.pid >> $DAEMON_PIDS

hg incoming l://

echo % errors
cat errors.log