view tests/test-hgweb @ 4070:961ccb615cf7

Handle functions as the value of a hooks.<name> config variable This should make it easier for extensions to add a hook when they're loaded.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 09 Feb 2007 03:48:28 -0200
parents 8eccfce0ab5e
children e3a0c092b4e2
line wrap: on
line source

#!/bin/sh

hg init test
cd test
mkdir da
echo foo > da/foo
echo foo > foo
hg ci -Ambase -d '0 0'
hg serve -p 20060 -d --pid-file=hg.pid
echo % manifest
("$TESTDIR/get-with-headers.py" localhost:20060 '/file/tip/?style=raw')
("$TESTDIR/get-with-headers.py" localhost:20060 '/file/tip/da?style=raw')
kill `cat hg.pid`