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

Re: svn commit: rev 4685 - in trunk/subversion: include libsvn_wc libsvn_client libsvn_auth

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-02 20:33:54 CET

Greg Stein wrote:

>On Sat, Feb 01, 2003 at 04:25:54AM +0100, Branko Cibej wrote:
>
>
>>..
>>Don't go inventing yet another hash table for that, you can use an
>>svn_config_t. Sure, you won't read it from a file, but it gives you all
>>the interfaces you need, including a separate namespace for each
>>provider's options.
>>
>>
>
>Euh... apr_hash_t ??!!
>
>We aren't about to code up a new hash table implementation. I don't think an
>svn_config_t feels right. This isn't about configuration. It is about
>storing values from an auth challenge, or storing the WC dir where cached
>auth data can be found.
>
>

Of course it's about configuration. Not runtime configuration for the
client, but config data for the auth providers. And svn_config_t is a
layer on top of apr_hash_t. The nice thing about svn_config_t is that it
has a two-layered namespace (sections and options), and a fairly simple
interface.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 2 20:34:44 2003

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.