subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: Square brackets in file names and authz (in VisualSVN 2.5.5)
Date Thu, 12 Jul 2012 15:18:25 GMT
Johan Corveleyn wrote on Thu, Jul 12, 2012 at 16:45:36 +0200:
> On Thu, Jul 12, 2012 at 2:06 PM, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> > Johan Corveleyn wrote on Thu, Jul 12, 2012 at 12:06:07 +0200:
> >> I think ']]' would be the best choice, but still not 100% backwards
> >> compatible. But I mean, who in their right mind would write sections
> >> like this:
> >>
> >> [repo:/path/to/file.ext]]haha, this isn't parsed
> >
> > We document the format as "ini format" and more specifically "same as
> > Python's ConfigParser", and the above isn't valid in either of those, so
> > we needn't provide back compat for it.
> 
> Where is this documented?
> 

ch07 #svn.advanced.confarea mentions that ~/.subversion/config is in
INI.  I suppose the rest is "dev@ folks wisdom", aka: undocumented.

> Besides: for Python's ConfigParser (if I understand the code
> correctly) I think the above is valid in the way that it doesn't
> generate errors: everything after the first ']' is simply ignored.
> 

Also everything before the first [.  I suppose there might be logic
elsefile that allows only whitespace before/after the \[[^]]*\], but I
can't spend much time on that now (have $WORK, etc)

> -- 
> Johan

Mime
View raw message