> >> Granted, I'm not very familiar with Windows development and APIs,
> >> when I was looking at this for OS X, Linux, and Windows, most
> >> resources I found said there wasn't an equivalent facility on
> >> Windows. Quoting Todd earlier in the thread:
> > Kernal32 has
> > FindFirstChangeNotification
> > FindCloseChangeNotification
> > FindNextChangeNotification
> > WaitForSingleObhject
> > Of course we spoiled .Net devs just use the FileSystemWatcher class
> > which wraps all this up nicely.
> Do you have to be running a process to use these? The nice thing
> about FSEvents is that (IIUC) you can just subscribe the the
> directory, quit your process, and then comeback later and ask it what
> changed. It might take some selling to convince the devs and the
> users that a daemon is needed for Subversion.
I've never used the API directly. But, it looks to me like this is an
eventing system. If you aren't running a process to respond to the
events they aren't stored anywhere.
I'm not sure how it is done now, but can you ask the file system what
has change since a certain time. Rather than comparing every file in the
fs with the .svn files. Just ask the file system what has changed since
a certain date/time and dealing with those issue? Basically doing a dir
where modify date is greater than the last time you checked it? Maybe
that is how it is done now?
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 18:53:14 CET