tests/test-hgweb-removed
author Pascal Quantin <pascal.quantin@gmail.com>
Fri, 23 Jan 2009 23:39:28 +0100
changeset 7683 39ae4fb8cf17
parent 7183 099b4f9be5ab
child 8452 cb93eee1fbcd
permissions -rwxr-xr-x
Retrieve Beyond Compare's path from registry Switch from a hardcoded path to registry key to find Beyond Compare's executable. Calling BCompare.exe works fine with version 3.0.14.

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'