Garrett Rooney wrote:
> On 4/27/06, C. Michael Pilato <cmpilato@collab.net> wrote:
>> Greg Hudson wrote:
>> > On Thu, 2006-04-27 at 11:16 -0700, Garrett Rooney wrote:
>> >
>> >>I've got a patch to fix this by stripping comments from values in the
>> >>config parser code, but I hesitate to change the behavior of this sort
>> >>of thing since someone might depend on it.
>> >
>> >
>> > What does Python do? We didn't invent the config file format, and we
>> > don't own it.
>>
>> Python treats lines for which the # is not the first character
>> literally.
>> So an option like:
>>
>> checkout_magic = # 0
>>
>> is parsed as having a value '# 0',
>
> Ok, so clearly we can't change this in the config parser. The correct
> fix will have to be something in the authz code.
However, we _can_ add a utility function (or an alternate value
accessor) to the svn_config module that strips so-called comments from
the value.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 28 12:04:46 2006