inotify and FSEvents...

James Lan jameslan at gmail.com
Mon May 14 05:37:31 CDT 2012


Does this mean that there will be a cross platform inotify ext shipped with
2.3?

Regards,
James Lan
On May 12, 2012 9:17 PM, "Jason Harris" <jason at jasonfharris.com> wrote:

> In the 2.3 Sprint we are talking about underlying notification. In OSX
> notification is through FSEvents:
>
> Couple of points with FSEvent watching:
> - Updates within a single directory are coalesced.  But all touched
> directories are
> reported.  (Mads was correct here.)
> - It looks like you can create FSEvents watchers which will report all
> changes to files as
> well:
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/index.html#//apple_ref/c/tag/FSEventStreamCreateFlags
> This flag is unfortunately new to 10.7 and Mercurial should likely still
> support 10.6 (Snow Leopard
> if not 10.5 Leopard....)
>
> For info on FSEvents see:
>  http://arstechnica.com/apple/2007/10/mac-os-x-10-5/7/
>
> http://developer.apple.com/library/mac/#documentation/Darwin/Reference/FSEvents_Ref/FSEvents_h/
>
> - Spotlight works by having a fsevents daemon record to a compressed log
> file which
>  directories are changed.  Then spotlight will examine this log at it's
> leisure to figure
>  out what it needs to rescan...
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120514/b847436c/attachment.html>


More information about the Mercurial-devel mailing list