[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: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Thu, 12 Jul 2012 12:06:07 +0200

On Thu, Jul 12, 2012 at 11:51 AM, Jason Heeris <jason.heeris_at_gmail.com> wrote:
> On 12 July 2012 17:45, Bert Huijben <bert_at_qqmail.nl> wrote:
>> [Please try to keep the mails in plain-text]
>
> Oops, my apologies!
>
>> Things might be simpler when defining that lines that start with ‘[‘ and
>> end with ‘]’ should parse everything in between as section markers.
>
>> But then, I don’t know how that affects the current comment syntax.
>
> Ah, yes, something like this might prove problematic:
>
> [repo:/path/to/[12345] file.ext] # Comment comment [comment]
>
> Then again, the file *could*, in theory, be named "[12345] file.ext] #
> Comment [comment comment"!
>
> I don't really know *what* constraints there are on honouring existing
> authz file syntax, whether or not it's explicitly specified.

Or even:

[repo:/path/to/file.ext] Comment [comment]

(no need for # -- this currently works as well, because everything
after the first ']' is ignored)

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

:-)

(ok, maybe in some cases as a typo, which is currently ignored and
which would then cause a behavior change)

-- 
Johan
Received on 2012-07-12 12:07:02 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.