tests/test-schemes
author Matt Mackall <mpm@selenic.com>
Tue, 01 Dec 2009 19:30:30 -0600
changeset 9985 279282ca42f0
parent 9964 e600ad9bc257
child 10070 9d1195b2f00d
permissions -rwxr-xr-x
Merge with stable

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