Mercurial > hg
view tests/test-hgweb-empty @ 10955:470a6ace7574
Added support for 'pretxncommit', so that one can call the ACL hook at
pre-commit time too. This is useful because now it's possible to avoid
violating ACL permissions much sooner, at commit time, instead of
waiting for a PUSH to check if there were any invalid commits.
author | Elifarley Callado Coelho Cruz <elifarley@gmail.com> |
---|---|
date | Tue, 06 Apr 2010 22:15:43 -0300 |
parents | 5f162f61e479 |
children |
line wrap: on
line source
#!/bin/sh # Some tests for hgweb in an empty repository hg init test cd test hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/shortlog') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/graph') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file')