author | Sune Foldager <cryo@cyanite.org> |
Tue, 08 Dec 2009 23:23:59 +0100 | |
branch | stable |
changeset 10022 | 585f51f8b5f0 |
parent 9966 | 1fa9f6850dee |
child 10070 | 9d1195b2f00d |
permissions | -rwxr-xr-x |
9966 | 1 |
#!/bin/sh |
2 |
||
3 |
cat <<EOF >> $HGRCPATH |
|
4 |
[extensions] |
|
5 |
schemes= |
|
6 |
||
7 |
[schemes] |
|
8 |
l = http://localhost:$HGPORT/ |
|
9 |
EOF |
|
10 |
||
11 |
hg init test |
|
12 |
cd test |
|
13 |
echo a > a |
|
14 |
hg ci -Am initial |
|
15 |
||
16 |
hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
|
17 |
cat hg.pid >> $DAEMON_PIDS |
|
18 |
||
19 |
hg incoming l:// |
|
20 |
||
21 |
echo % errors |
|
22 |
cat errors.log |