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

Re: [PATCH] Give svnmucc ability to handle multiline properties

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 31 Jul 2009 15:14:11 +0100

Julian Foad <julianfoad_at_btopenworld.com> writes:

> Making the escape character configurable seems overly complex - not
> complexity of implementation, but the sort of complexity that means any
> time you store or automatically generate svnmucc commands you would then
> have to keep track also of which character was used, and ensure the same
> character is used when interpreting them.
> I would just pick one escape character and specify that at end of line
> it means include the end-of-line character(s) and continue the argument
> on the next line; if doubled, include just one copy of itself; otherwise
> it's an error.
> It's difficult to pick an escape character. I would tend to choose '\'
> because it is so commonly used for this purpose in Unix-like systems. It

When '\' escaping was added to svn:externals it changed how paths were
interpreted by the command line client. That provides some sort of
precedent for simply changing the behaviour of svnmucc. I'd prefer to
see '\' as an escape character without any new command line option.
I'd want enough escaping so that '\\' at the end of a line gave a
literal '\'.

Received on 2009-07-31 16:14:45 CEST

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