view tests/test-schemes @ 9966:1fa9f6850dee stable

schemes extension
author Alexander Solovyov <piranha@piranha.org.ua>
date Tue, 24 Nov 2009 17:48:23 +0200
parents
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