12 if [ -f access.log ]; then |
22 if [ -f access.log ]; then |
13 echo 'access log created - .hg/hgrc respected' |
23 echo 'access log created - .hg/hgrc respected' |
14 fi |
24 fi |
15 |
25 |
16 echo % With -v |
26 echo % With -v |
17 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v \ |
27 hgserve |
18 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' |
|
19 cat hg.pid >> "$DAEMON_PIDS" |
|
20 sleep 1 |
|
21 kill `cat hg.pid` |
|
22 sleep 1 |
|
23 |
28 |
24 echo % With --prefix foo |
29 echo % With --prefix foo |
25 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v --prefix foo \ |
30 hgserve --prefix foo |
26 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' |
|
27 cat hg.pid >> "$DAEMON_PIDS" |
|
28 sleep 1 |
|
29 kill `cat hg.pid` |
|
30 sleep 1 |
|
31 |
31 |
32 echo % With --prefix /foo |
32 echo % With --prefix /foo |
33 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v --prefix /foo \ |
33 hgserve --prefix /foo |
34 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' |
|
35 cat hg.pid >> "$DAEMON_PIDS" |
|
36 sleep 1 |
|
37 kill `cat hg.pid` |
|
38 sleep 1 |
|
39 |
34 |
40 echo % With --prefix foo/ |
35 echo % With --prefix foo/ |
41 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v --prefix foo/ \ |
36 hgserve --prefix foo/ |
42 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' |
|
43 cat hg.pid >> "$DAEMON_PIDS" |
|
44 sleep 1 |
|
45 kill `cat hg.pid` |
|
46 sleep 1 |
|
47 |
37 |
48 echo % With --prefix /foo/ |
38 echo % With --prefix /foo/ |
49 hg serve -a localhost -p $HGPORT1 -d --pid-file=hg.pid -v --prefix /foo/ \ |
39 hgserve --prefix /foo/ |
50 | sed -e 's/:[0-9][0-9]*//g' -e 's/localhost\.localdomain/localhost/' |
|
51 cat hg.pid >> "$DAEMON_PIDS" |
|