diff tests/test-hgweb-filelog @ 7612:069b29656401

web: use the correct filectx in filelog
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 09 Jan 2009 17:34:06 +0100
parents 591767e6ea7a
children f2fa1a9eede6
line wrap: on
line diff
--- a/tests/test-hgweb-filelog	Wed Jan 07 02:11:17 2009 +0100
+++ b/tests/test-hgweb-filelog	Fri Jan 09 17:34:06 2009 +0100
@@ -16,6 +16,9 @@
 hg rm a
 hg ci -m "del2 a"
 
+hg mv b c
+hg ci -m "mv b"
+
 hg log -p
 
 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
@@ -36,5 +39,8 @@
 echo % before addition - error
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/0/a')
 
+echo % should show base link, use spartan because it shows it
+("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log/tip/c?style=spartan')
+
 echo % errors
 cat errors.log