test
error
An error occurred while processing your request:
Not Found
$ "$TESTDIR/hghave" serve || exit 80 Some tests for hgweb. Tests static files, plain files and different 404's. $ hg init test $ cd test $ mkdir da $ echo foo > da/foo $ echo foo > foo $ hg ci -Ambase adding da/foo adding foo $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS manifest $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw') 200 Script output follows drwxr-xr-x da -rw-r--r-- 4 foo $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/da?style=raw') 200 Script output follows -rw-r--r-- 4 foo plain file $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?style=raw' 200 Script output follows foo should give a 404 - static file that does not exist $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/static/bogus' 404 Not Found
An error occurred while processing your request:
bork@2ef0ac749a14: not found in manifest