tests/test-mq-qgoto
author Rocco Rutte <pdmef@gmx.net>
Fri, 05 Sep 2008 17:28:37 +0200
changeset 7029 b84d27386285
parent 4432 905397be7688
child 7568 12df451ce205
permissions -rwxr-xr-x
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.

#!/bin/sh

echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH

hg init a
cd a
echo a > a
hg ci -Ama

hg qnew a.patch
echo a >> a
hg qrefresh

hg qnew b.patch
echo b > b
hg add b
hg qrefresh

hg qnew c.patch
echo c > c
hg add c
hg qrefresh

hg qgoto a.patch
hg qgoto c.patch
hg qgoto b.patch