view tests/test-lock-badness @ 7029:b84d27386285

hgweb: Respond with HTTP 403 for disabled archive types instead of 404 This makes it easier for clients/users to distinct between supported but disabled and unsupported archive types.
author Rocco Rutte <pdmef@gmx.net>
date Fri, 05 Sep 2008 17:28:37 +0200
parents c0b449154a90
children
line wrap: on
line source

#!/bin/sh

hg init a
echo a > a/a
hg --cwd a ci -A -m a
hg clone a b
echo b > b/b
hg --cwd b ci -A -m b
chmod 100 a/.hg/store
hg --cwd b push ../a
chmod 700 a/.hg/store