branch | stable |
changeset 12795 | 3cb0559e44d0 |
parent 12793 | 469850088fc1 |
parent 12794 | 6bf8d48bec8e |
child 12796 | bc69ba99e34b |
12793:469850088fc1 | 12795:3cb0559e44d0 |
---|---|
1 #!/bin/sh |
|
2 |
|
3 echo % setting up repo |
|
4 hg init test |
|
5 cd test |
|
6 echo a > a |
|
7 hg ci -Ama |
|
8 hg rm a |
|
9 hg ci -mdel |
|
10 |
|
11 echo % set up hgweb |
|
12 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log |
|
13 cat hg.pid >> $DAEMON_PIDS |
|
14 |
|
15 echo % revision |
|
16 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip' |
|
17 |
|
18 echo % diff removed file |
|
19 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a' |