[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: Geoff Rowell <geoff.rowell_at_gmail.com>
Date: Fri, 31 Jul 2009 12:24:23 -0400

Philip Martin <philip_at_codematters.co.uk> writes:
> 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 '\'.

I agree with Philip and Julian. As long as an escape is supported, I don't
see the need for another command line argument. I'd prefer to have backslash
as the continuation character.

-Geoff

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2377483
Received on 2009-07-31 18:24:44 CEST

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

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