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 '\'.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2377403
Received on 2009-07-31 16:14:45 CEST