tests/test-inotify-lookup
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 04 May 2009 19:51:08 +0200
changeset 8292 29540554def8
parent 7084 f5c18a581b8b
permissions -rwxr-xr-x
verify: reference the correct linkrev when a filelog is missing when a filelog is missing, the first bad revision is the first revision where the filelog is referenced, not 0.

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