cmpilato@collab.net wrote:
>Josef Wolf <jw@raven.inka.de> writes:
>
>
>
>>On Wed, Oct 16, 2002 at 12:44:13PM -0500, cmpilato@collab.net wrote:
>>
>>
>>>Wolf Josef <josef.wolf@siemens.com> writes:
>>>
>>>
>>>You left out the 'DEFAULT' "section" portion of the keys. Try
>>> /machine/software/tigris.org/subversion/proxies/DEFAULT/host
>>> /machine/software/tigris.org/subversion/proxies/DEFAULT/port
>>>
>>>
>>Thanks! Will try this tomorrow. But then, ~/.subversion/README
>>should be fixed, because it states:
>>
>> The values in config-key represent the options in the [DEFAULTS] section.
>> The keys below config-key represent other sections, and their values
>> represent the options. Only values of type REG_SZ will be used; other
>> values, as well as the keys' default values, will be ignored.
>>
>>The first sentence misleaded me. I interpreted "The values in
>>config-key represent" such that there need not be a deeper level.
>>
>>
>
>Hmm...I wonder if our code is buggy and the docs are right?
>
>
They're in fact both wrong...
Our config files are modeled after the format understood by Python's
ConfigParser. It uses a section named DEFAULT (note the uppercase!) to
look for values when expanding %(foo) forms. We don't support variable
expansion in our config files yet, though.
Now, while the section names in the files are case-sensitive, those in
the Windows Registry are not, so the top-level config key is being
treated specially. Josef, what you wrote under subversion/proxies was
getting parsed into the [DEFAULTS] section (yes, note the S; that's a
bug, too, being fixed...); but even if it were the [DEFAULT] section,
it's not the [default] section that the proxy code looks for. The names
are case-sensitive on lookup!
What Josef has to do is put the values in
/machine/software/tigris.org/subversion/proxies/default
--
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 Thu Oct 17 04:57:32 2002