Mercurial > hg
comparison tests/test-hgweb-removed @ 7183:099b4f9be5ab
hgweb: working diff for removed files
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Mon, 20 Oct 2008 14:13:37 +0200 |
parents | |
children | cb93eee1fbcd |
comparison
equal
deleted
inserted
replaced
7182:295af5bc1bcc | 7183:099b4f9be5ab |
---|---|
1 echo % setting up repo | |
2 hg init test | |
3 cd test | |
4 echo a > a | |
5 hg ci -Ama | |
6 hg rm a | |
7 hg ci -mdel | |
8 | |
9 echo % set up hgweb | |
10 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log | |
11 cat hg.pid >> $DAEMON_PIDS | |
12 | |
13 echo % revision | |
14 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip' | |
15 | |
16 echo % diff removed file | |
17 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a' |