view tests/test-inotify-lookup @ 7450:79d1bb737c16

hgweb: extend [paths] syntax to match repositories recursively (issue852) This feature somehow duplicates [collections] but it is simpler to use and has less issues under Windows where using absolute path as configuration file key is not supported. Suggested by Dirkjan Ochtman <dirkjan@ochtman.nl>
author Patrick Mezard <pmezard@gmail.com>
date Mon, 01 Dec 2008 14:20:20 +0100
parents f5c18a581b8b
children
line wrap: on
line source

#!/bin/sh

"$TESTDIR/hghave" inotify || exit 80

hg init
echo "[extensions]" > .hg/hgrc
echo "inotify=" >> .hg/hgrc
hg inserve -d --pid-file .hg/inotify.pid

echo a > a
hg ci -Aqm0
hg co -q null
hg co -q
hg st
cat a

kill `cat .hg/inotify.pid`