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

Re: Mini-issue: boolean config values

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-10-29 00:20:27 CET

Files wrote:

>Can I have a stab at looking at this? It sounds like a good place to begin.
I suggest adding two new functions to svn_config:

void svn_config_get_bool (svn_config_t *cfg, svn_boolean_t *valuep,
                          const char *section, const char *option,
                          svn_boolean_t default_value);

void svn_config_set_bool (svn_config_t *cfg,
                          const char *section, const char *option,
                          svn_boolean_t value);

then use svn_config_get_bool wherever we're currently parsing the truth
value by hand. I also suggest svn_config_get_bool should understand
"yes"/"no", "on"/"off" and "true"/"false" pairs, and should be

>What issue number is this?
I don't think there is one.

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 Wed Oct 29 00:21:17 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.