tests/test-hgweb-removed
author Patrick Mezard <pmezard@gmail.com>
Sat, 03 Jan 2009 20:16:10 +0100
changeset 7564 f1af59451c0c
parent 7183 099b4f9be5ab
child 8452 cb93eee1fbcd
permissions -rwxr-xr-x
localrepo: fix bad manifest delta generation (issue1433) The issue came from the 720ae5085ee3 fix for issue586 working only for manifest.add() fast path, where the incorrect removed file set was ignored. This path was no longer taken after 716a1296e182 refactoring.

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'