Show More
@@ -1,28 +1,29 b'' | |||||
1 | #!/bin/sh |
|
1 | $ hg init test | |
2 |
|
2 | $ cd test | ||
3 | hg init test |
|
|||
4 | cd test |
|
|||
5 |
|
3 | |||
6 | cat > .hg/hgrc <<EOF |
|
4 | $ cat > .hg/hgrc <<EOF | |
7 | [extensions] |
|
5 | > [extensions] | |
8 | interhg = |
|
6 | > interhg = | |
9 |
|
7 | > | ||
10 | [interhg] |
|
8 | > [interhg] | |
11 | issues = s|Issue(\d+)|<a href="http://bts.example.org/issue\1">Issue\1</a>| |
|
9 | > issues = s|Issue(\d+)|<a href="http://bts.example.org/issue\1">Issue\1</a>| | |
|
10 | > | |||
|
11 | > # yes, 'x' is a weird delimiter... | |||
|
12 | > markbugs = sxbugx<i class="\x">bug</i>x | |||
|
13 | > EOF | |||
12 |
|
14 | |||
13 | # yes, 'x' is a weird delimiter... |
|
15 | $ touch foo | |
14 | markbugs = sxbugx<i class="\x">bug</i>x |
|
16 | $ hg add foo | |
15 | EOF |
|
17 | $ hg commit -d '1 0' -m 'Issue123: fixed the bug!' | |
16 |
|
18 | |||
17 | touch foo |
|
19 | $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
18 | hg add foo |
|
20 | $ cat hg.pid >> $DAEMON_PIDS | |
19 | hg commit -d '1 0' -m 'Issue123: fixed the bug!' |
|
|||
20 |
|
21 | |||
21 | hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
|
22 | log | |
22 | cat hg.pid >> $DAEMON_PIDS |
|
|||
23 |
|
23 | |||
24 | echo % log |
|
24 | $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/' | grep bts | |
25 | "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/' | grep bts |
|
25 | <td class="description"><a href="/rev/1b0e7ece6bd6"><a href="http://bts.example.org/issue123">Issue123</a>: fixed the <i class="x">bug</i>!</a><span class="branchhead">default</span> <span class="tag">tip</span> </td> | |
26 |
|
26 | |||
27 |
|
|
27 | errors | |
28 | cat errors.log |
|
28 | ||
|
29 | $ cat errors.log |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now