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

Re: Easy comparisons between related trunks, branches, and tags

From: Michael Sweet <mike_at_easysw.com>
Date: 2005-11-13 03:07:13 CET

Jim Blandy wrote:
>> Sure -- I was delving into the cache-invalidation strategy, that's
>> all. (It would be more constructive if I tried to come up with that
>> strategy myself, but I'd prefer to jut my lip poutily and make Marc do
>> it.)
>
> Any time the base revision of the directory changes, you need to
> refresh the cached value. If the base revision hasn't changed, the
> properties on the directory and its parents can't have changed.

As I mentioned in a separate thread (for the log template stuff),
using the cached property value until the next update is a valid
design/mode of operation and would be consistent with how the rest
of the WC stuff works today.

IOW, "svn diff" doesn't need to check the validity of the cache, it
can depend on "svn update" to do the work for it.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 13 03:07:48 2005

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

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