comparison 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
comparison
equal deleted inserted replaced
10077:89617aacb495 10078:97c75ad3b1a0
39 cd ../repo2 39 cd ../repo2
40 hg log 40 hg log
41 hg update 41 hg update
42 cat b # should exist with one "b" 42 cat b # should exist with one "b"
43 43
44 echo % hg serve shared clone
45 hg serve -n test -p $HGPORT -d --pid-file=hg.pid
46 cat hg.pid >> $DAEMON_PIDS
47
48 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/raw-file/'