[issue1221] inotify extension not working

Dov Feldstern mercurial-bugs at selenic.com
Wed Jul 9 16:37:08 CDT 2008


New submission from Dov Feldstern <dfeldstern at fastimap.com>:

The inotify extension doesn't appear to be working correctly. I'm using the
latest version on crew (88a1bcc5c6a7). I tried this on two different linux
machines, with different kernels (both of which support inotify), and I've been
having similar issues with both.

Here's an example session (the problems are non-deterministic --- sometimes it
even works at first --- but very quickly some sort of problem does appear):

23:46 /tmp> hg init inotify-test
23:47 /tmp> cd inotify-test/
23:47 /tmp/inotify-test>

In a separate terminal:
23:33 /tmp/rebase-test> cd ../inotify-test/
23:47 /tmp/inotify-test> hg inserve --debug > /tmp/inserve.log

Back in the first terminal:
23:47 /tmp/inotify-test> echo 'testing' > a
23:48 /tmp/inotify-test> hg stat
? a
23:48 /tmp/inotify-test> hg com -A -m 'a test'
adding a
23:48 /tmp/inotify-test> hg stat       # <<== so far so good, but now:
A a
? a

After killing inserve, then, as expected:

23:48 /tmp/inotify-test> hg stat
23:49 /tmp/inotify-test>

I'm also attaching inserve's log in case it's of any use.

Thanks!
Dov

----------
files: inserve.log
messages: 6494
nosy: dov
priority: bug
status: unread
title: inotify extension not working

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1221>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inserve.log
Type: application/octet-stream
Size: 1992 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080709/576a002e/attachment.obj 


More information about the Mercurial-devel mailing list