inotify and FSEvents...
James Lan
jameslan at gmail.com
Mon May 14 06:11:33 CDT 2012
Watchdog is a module provides fs notification functionality but not hgext.
As far as I know, inotify ext has other issues to be cross-platformed, such
as unix domain socket. I'm considering to implement a module to support
that for windows...
Regards,
James
On May 14, 2012 6:56 PM, "Alain Leufroy" <alain.leufroy at logilab.fr> wrote:
>
> On Mon, 14 May 2012, James Lan wrote:
>
>
> >
> > Does this mean that there will be a cross platform inotify ext shipped
> with 2.3?
>
> There is a funny project like that: http://pypi.python.org/pypi/watchdog
> >
> > 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
> >
> >
> >
>
> --
> Alain Leufroy
> LOGILAB, Paris (France)
> http://www.logilab.fr
> Informatique scientifique & gestion de connaissances
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120514/a0db67ea/attachment.html>
More information about the Mercurial-devel
mailing list