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

Re: A proposed solution for svn admin directory names

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-06-29 20:26:17 CEST

On Wed, 2005-06-29 at 13:52 -0400, Brass Tilde wrote:
> I'll presume for the sake of argument that the options in the configuration file are read when the svn program starts, and saved in
> some sort of structure to be available when needed. I'll further presume that there is some method, such as a "getConfigOption()"
> function, for sections of code to retrieve relevant items from this structure when needed.

These things are true, but we don't use global variables (much) in the
Subversion library. The config object has to be passed to the
equivalent of your posited getConfigOption() function, which means it's
not available to the expansion of the SVN_WC_ADM_DIR_NAME macro. (Also,
I don't think we even pass the config object to functions in libsvn_wc
at the moment.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 29 20:27:31 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.