tests/test-inotify-lookup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 27 Oct 2008 21:50:01 +0100
changeset 7270 2db33c1a5654
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
factor out the url handling from httprepo Create url.py to handle all the url handling: - proxy handling - workaround various python bugs - handle username/password embedded in the url

#!/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`