tests/test-inotify-lookup
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 23 Mar 2009 13:43:48 +0100
changeset 7880 7ca2be800804
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
add debugcommands command: an easy to parse command + option index

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