[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: Greg Stein <gstein_at_gmail.com>
Date: Thu, 17 Mar 2011 15:43:44 -0400

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.
 On Mar 17, 2011 6:40 PM, "C. Michael Pilato" <cmpilato_at_collab.net> wrote:
> That's fine with me. I'm actually off playing with custom SQLite functions
> at the moment, trying to find a way to write statements like "go delete
all
> the version-url properties from the dav_cache for all the items in and
under
> TARGET".
>
>
> On 03/17/2011 01:29 PM, Julian Foad wrote:
>> Mike, Greg,
>>
>> Is it OK with you if I remove the single-prop-get WC DB APIs, which are
>> unused? In light of what you're talking about I just want to check this
>> won't be stepping on your toes.
>>
>> [[[
>> Remove unused single-prop-get functions from the WC DB API, because they
>> were just clutter in the API. The "read all props" and "write all
>> props" APIs make a sensible interface by themselves and there are no
>> "write one prop" interfaces at this level.
>>
>> * subversion/libsvn_wc/wc_db.h,
>> subversion/libsvn_wc/wc_db.c
>> (svn_wc__db_base_get_prop, svn_wc__db_read_prop): Remove.
>>
>> * subversion/tests/libsvn_wc/db-test.c
>> (validate_node): Remove the testing of svn_wc__db_base_get_prop(). It
>> still tests svn_wc__db_base_get_props(). There were no tests for
>> svn_wc__db_read_prop().
>> ]]]
>>
>> - Julian
>>
>>
>
>
> --
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
>
Received on 2011-03-17 20:44:15 CET

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