tests/test-schemes
author Matt Mackall <mpm@selenic.com>
Tue, 01 Dec 2009 19:28:15 -0600
branchstable
changeset 9984 439d7ea6fe3a
parent 9966 1fa9f6850dee
child 10070 9d1195b2f00d
permissions -rwxr-xr-x
share: fix interaction with clone

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