diff tests/test-hgweb-filelog @ 7624:f2fa1a9eede6

Improved hgweb test. The hgweb fix in 069b29656401 aimed at restoring the "back" link in hgweb's filelog that has been lost in 62e0bb41e682. However, the previous version of this test ran the filelog command on a file with only a single filelog entry. In this case, the previous hgweb version did not exhibit the bug. The error condition is now correctly tested with a filelog of 2 entries.
author Stefan Ring <stefan@complang.tuwien.ac.at>
date Mon, 12 Jan 2009 13:20:09 +0100
parents 069b29656401
children cb93eee1fbcd
line wrap: on
line diff
--- a/tests/test-hgweb-filelog	Mon Jan 12 09:57:52 2009 +0100
+++ b/tests/test-hgweb-filelog	Mon Jan 12 13:20:09 2009 +0100
@@ -19,6 +19,9 @@
 hg mv b c
 hg ci -m "mv b"
 
+echo c >> c
+hg ci -m "change c"
+
 hg log -p
 
 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log