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

Re: Property storage / modification in WC-NG

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 17 Mar 2011 22:10:02 -0400

On 03/17/2011 03:43 PM, Greg Stein wrote:
> Dude. If you want to delete *one* prop from the dav_cache, then just torch
> them all (ie. set to null). HTTPv2 does not use them. HTTPv1 only uses the
> vsn URL. And it is a cache.
> So don't be tricky. Blast the entire dav_cache rather than tweak it.

Yes, the more I examined real-world usage, the more I decided that full
cache invalidation would be fine. But sometimes, it's good exercise to
force yourself to dive into an API you've never looked at before and try
something new. I managed to successfully implement the functionality I set
out to implement, and that's intellectually satisfying. I'm sure you know
and can appreciate this feeling.

I've attached the patch here in case someone else wants to model similar
functionality on it later. (Philip has a similar patch for another bit of
unrelated functionality.) But, yeah, it's a full dav_cache purge that I'll
be committing.

C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-03-18 03:10:37 CET

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.