[Please try to keep the mails in plain-text]

 

The problem with using a ‘\’ would be that you break the ‘\’ character in 
existing files to fix ‘]’.

 

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.

 

 

We should really check the source before making a decision.

 

                Bert

 

 

From: Jason Heeris [mailto:jason.hee...@gmail.com] 
Sent: donderdag 12 juli 2012 11:37
To: Johan Corveleyn
Cc: Matthew Pounsett; users@subversion.apache.org
Subject: Re: Square brackets in file names and authz (in VisualSVN 2.5.5)

 

On 12 July 2012 17:28, Johan Corveleyn <jcor...@gmail.com> wrote:

I think the only character that causes problems is ']' (which ends the

section name parsing). It seems not too hard to change that parsing
function to make it handle some kind of escape sequence for ']'
(perhaps ']]'). Would you care to write a patch [2]?

 

I doubt I'll have time to write a patch any time in the next few days, but I'll 
file the bug now and take a look at writing a patch next week.

 

I'd suggest avoiding inconsistencies like the double-]. I certainly wouldn't 
think to try that. It might be better to use a backslash sequence, or simply 
capture everything up to the *last* "]" on a line instead of the first. I don't 
think that would be more complex than needing to detect a "]]" ...but then, I 
haven't written the patch :P

 

— Jason

Reply via email to