branch | stable |
changeset 9966 | 1fa9f6850dee |
child 10070 | 9d1195b2f00d |
9956:6045a8c4dbbc | 9966:1fa9f6850dee |
---|---|
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 |