diff tests/test-share @ 10078:97c75ad3b1a0

hgweb: Make get_mtime use repository to find store path. It was calculating it directly, which is redundant and caused it to break with shared repositories.
author Brendan Cully <brendan@kublai.com>
date Tue, 15 Dec 2009 12:33:04 -0800
parents c204431b039e
children 66d8ec33da32
line wrap: on
line diff
--- a/tests/test-share	Sun Dec 13 18:29:16 2009 +0100
+++ b/tests/test-share	Tue Dec 15 12:33:04 2009 -0800
@@ -41,3 +41,8 @@
 hg update
 cat b             # should exist with one "b"
 
+echo % hg serve shared clone
+hg serve -n test -p $HGPORT -d --pid-file=hg.pid
+cat hg.pid >> $DAEMON_PIDS
+
+"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/raw-file/'