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

Re: Square brackets in file names and authz (in VisualSVN 2.5.5)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 12 Jul 2012 16:18:25 +0100

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_at_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
Received on 2012-07-12 17:19:08 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.