[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Slow right click in windows...

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-05-26 19:48:24 CEST

At 19:36 26/05/2005 +0200, you wrote:

>Since those files aren't (usually) visible in the explorer, it won't get a
>notification from the filesystem watcher. That's why in those case our
>cache isn't up-to-date until the user presses F5 to force the shell to ask
>for the status again.

Well, the way the way the cache works at the moment is that when you ask
for a file's status, it checks that file's modification date, and the date
of the .svn\entries file, as a quick way if seeing if anything's changed.

Clearly the problem here is that 'anything' doesn't include properties,
which were something I completely forgot about at the beginning of the dev
of TSVNCache.

I think you *might* get the ignores OK if we looked for changes in
.svn\dir-props.

>What we could do is to register our own filesystem watcher, but then the
>question is: on which folder? If we do that on e.g. C:\, then we could
>bring the whole system down (performance wise). If we do it e.g. in
>D:\Dev\SVN\TSVN\src\TortoiseProc\.svn, then we'd miss changes in other
>locations.

Until the new file-system file mechanism which MS is developing is ready, I
agree with you that OS-based file watching isn't really practical.

Cheers,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 26 19:49:09 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.