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

Re: [TSVN] Icon overlays still not correct

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-07-14 21:49:54 CEST

SteveKing wrote:
> Simon Large wrote:
>> Press F5. Wait 2 minutes. Press F5. No disk activity and no overlay
>> update. Wait another 15 minutes. Press F5. Now we get disk churn and
>> the overlay updates after about 5 seconds. In the registry I have
>> CacheTimeout set to 600000. I don't remember setting this explicitly
>> and I thought it had been increased to MAX_INT before the 1.2.0 release.
> The registry isn't changed. The 1.2.0 release just set the *default* to
> MAX_INT if the registry entry is not set already.

OK, I thought that might be the case.

> Since the cache now never times out anymore, you have to live with
> sometimes wrong recursive overlays. If a file gets changed without
> explorer noticing it (which happens every time a file changes way below
> the path the explorer currently shows), then the recursive overlay will
> be wrong.

But a lot of the time files _will_ be changed without explorer noticing.
That is why we have recursive overlays, isn't it, so that changes lower
down in the tree show through at the top?

> Problem here: you can't have it both ways. Either the cache times out
> and will cause much more disk activity, or it never times out and you
> can get wrong overlays.

Difficult problem. I am not sure what Will intended when he said the
cache should not have a timeout. How is it supposed to pick up the
changes in that case? What triggers a fresh crawl of the WC?


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 14 21:49:14 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.