equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 hg init test |
3 hg init test |
4 cd test |
4 cd test |
5 |
5 |
|
6 echo '[web]' > .hg/hgrc |
|
7 echo 'accesslog = access.log' >> .hg/hgrc |
|
8 |
6 echo % Without -v |
9 echo % Without -v |
7 hg serve -a localhost -p 20063 -d --pid-file=hg.pid |
10 hg serve -a localhost -p 20063 -d --pid-file=hg.pid |
8 cat hg.pid >> "$DAEMON_PIDS" |
11 cat hg.pid >> "$DAEMON_PIDS" |
|
12 if [ -f access.log ]; then |
|
13 echo 'access log created - .hg/hgrc respected' |
|
14 fi |
9 |
15 |
10 echo % With -v |
16 echo % With -v |
11 hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v |
17 hg serve -a localhost -p 20064 -d --pid-file=hg.pid -v |
12 cat hg.pid >> "$DAEMON_PIDS" |
18 cat hg.pid >> "$DAEMON_PIDS" |