Bob Archer wrote:
>> 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.
>>
>> -Hyrum
>
> 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.
Yes, both the ReadDirectoryChanges and the FindFirstNotification API's
require a process to be running to track all the changes from time A to
time B.
That is why a TortoiseSVN with its explorer shell integration is well
suited for this type of operation.
The only way under Windows to track file or directory changes without
running a process is by using the Change Journal on NTFS file systems only.
see:
http://msdn.microsoft.com/en-us/library/aa363798(VS.85).aspx
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1268124
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-04 20:32:43 CET