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

Re: [TSVN] Overly Icons not working correctly any more

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-05-11 19:26:46 CEST

Will Dean wrote:
> At 14:58 11/05/2005 +0100, you wrote:
>
>> I haven't looked at the cache code ever, but from memory the timeout is
>> needed because it is relatively easy to fool the cache by renaming files
>> & folders and otherwise fiddling about with things behind the cache's
>> back.
>
>
> Well, I wrote the cache, and included the wretched timeout (I wish I'd
> never), but my full intention was to make the cache work properly, so
> that it didn't need a timeout to deal with all the circumstances when it
> might not work properly.

And so is mine. But for the time being, I want the cache to timeout. I
think I'll remove the timeout this weekend.

> There really shouldn't be any 'back' to be fiddled behind, because the
> idea of the lazy walking stuff was to mop-up any changes which hadn't
> been explicitly notified and make the cached data right.

And that's what's done now. It *should* work correctly without a
timeout, but I still want to test a little more.

> At the point I stopped working on it because of other pressures, I'd
> completely failed to deal with things going missing (deleted or
> renamed), but I'm not sure that they can't be handled properly.

I think they are. Just haven't tested it enough yet.

> It seems to me that the timeout is either *very* short (like the old
> cache) in recognition that the cache is probably wrong a lot of the
> time, or is infinite. The way I left it (10 minutes) is not useful at
> all I feel. What's it defaulted to at the moment?

Still ten minutes, but configurable in the registry.

> Anyway, some of my work pressures are easing-up now, so I might be able
> to work on it again shortly...

Good!

Stefan

-- 
        ___
   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 Wed May 11 21:32:29 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.