tests/test-hgweb-removed
author Shun-ichi GOTO <shunichi.goto@gmail.com>
Fri, 18 Sep 2009 21:25:47 +0900
changeset 9463 bd017f359c08
parent 8452 cb93eee1fbcd
permissions -rwxr-xr-x
win32mbcs: util.normpath should be wrapped. It is because util.normpath() finally calls windows.pconvert() which is not wrapped (by changeset:25c41ddb3978).

#!/bin/sh

echo % setting up repo
hg init test
cd test
echo a > a
hg ci -Ama
hg rm a
hg ci -mdel

echo % set up hgweb
hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
cat hg.pid >> $DAEMON_PIDS

echo % revision
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip'

echo % diff removed file
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'