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

2012-07-12 Thread Jason Heeris
On 12 July 2012 17:51, Jason Heeris wrote: > I don't really know *what* constraints there are on honouring existing > authz file syntax, whether or not it's explicitly specified. Thorsten Schöning said: "How about just telling svn explicitly which parse mode for section names one wants?" I'd sug

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

2012-07-12 Thread Daniel Shahaf
Johan Corveleyn wrote on Thu, Jul 12, 2012 at 16:45:36 +0200: > On Thu, Jul 12, 2012 at 2:06 PM, Daniel Shahaf > 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 th

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

2012-07-12 Thread Johan Corveleyn
On Thu, Jul 12, 2012 at 2:05 PM, Daniel Shahaf wrote: > Johan Corveleyn wrote on Thu, Jul 12, 2012 at 11:28:18 +0200: >> I think the only character that causes problems is ']' (which ends the >> section name parsing). It seems not too hard to change that parsing > > Technically, 0x0A (newline) wou

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

2012-07-12 Thread Daniel Shahaf
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 "i

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

2012-07-12 Thread Daniel Shahaf
Johan Corveleyn wrote on Thu, Jul 12, 2012 at 11:28:18 +0200: > I think the only character that causes problems is ']' (which ends the > section name parsing). It seems not too hard to change that parsing Technically, 0x0A (newline) would likely be a problem too. Not sure that anyone uses it...

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

2012-07-12 Thread Thorsten Schöning
Guten Tag Jason Heeris, am Donnerstag, 12. Juli 2012 um 11:51 schrieben Sie: > I don't really know *what* constraints there are on honouring existing > authz file syntax, whether or not it's explicitly specified. How about just telling svn explicitly which parse mode for section names one wants?

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

2012-07-12 Thread Johan Corveleyn
On Thu, Jul 12, 2012 at 11:51 AM, Jason Heeris wrote: > On 12 July 2012 17:45, Bert Huijben 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 betwe

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

2012-07-12 Thread Jason Heeris
The issue is filed as #4204: http://subversion.tigris.org/issues/show_bug.cgi?id=4204 — Jason

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

2012-07-12 Thread Jason Heeris
On 12 July 2012 17:45, Bert Huijben 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 affect

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

2012-07-12 Thread Bert Huijben
; 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 wrote: I think the only character that causes problems is ']' (which ends the section name parsing). It seems not too hard to change th

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

2012-07-12 Thread Jason Heeris
On 12 July 2012 17:28, Johan Corveleyn 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

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

2012-07-12 Thread Johan Corveleyn
On Thu, Jul 12, 2012 at 6:59 AM, Jason Heeris wrote: > On 12 July 2012 08:03, Jason Heeris wrote: >> >> I'll file it later today and see what response I get. > > > Apparently I need a buddy with whom to file the bug. If anyone would be > willing, I'd appreciate it. > > I've attached a bash script

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

2012-07-11 Thread Jason Heeris
On 12 July 2012 08:03, Jason Heeris wrote: > I'll file it later today and see what response I get. > Apparently I need a buddy with whom to file the bug. If anyone would be willing, I'd appreciate it. I've attached a bash script that reproduces the problem under SVN 1.7.4. Please read the scrip

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

2012-07-11 Thread Matthew Pounsett
On 2012/07/11, at 20:20, David Brodbeck wrote: > On Wed, Jul 11, 2012 at 8:01 AM, Matthew Pounsett wrote: >> I note by your examples that you're using a unix filesystem (as opposed to >> Windows). I would be a little surprised if this worked there, since the >> square brackets are normally us

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

2012-07-11 Thread David Brodbeck
On Wed, Jul 11, 2012 at 8:01 AM, Matthew Pounsett wrote: > I note by your examples that you're using a unix filesystem (as opposed to > Windows). I would be a little surprised if this worked there, since the > square brackets are normally used by unix shells as glob metacharacters, > similarly

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

2012-07-11 Thread Jason Heeris
On 11 July 2012 23:01, Matthew Pounsett wrote: > I note by your examples that you're using a unix filesystem (as opposed to > Windows). I would be a little surprised if this worked there, since the > square brackets are normally used by unix shells as glob metacharacters, > similarly to * and ?.

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

2012-07-11 Thread Matthew Pounsett
On 2012/07/11, at 01:13, Jason Heeris wrote: > The problem is this: it doesn't seem to work on files with the '[' or ']' > characters in their name. Ignoring VisualSVN's GUI for now, I've tried going > one step further and editing the "authz-windows" file by hand and I just > can't seem to get