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

Re: [PROPOSAL] enforce log messages as series of lines

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2006-03-05 22:08:52 CET

At 02:33 PM 05/03/2006 -0600, Peter Samuelson wrote:
[snip]
>> The question of whether svn introduced this inconsistency is a topic
>> of some dispute, as you may have noticed :-). One could also do
>>
>> $ svn ci -m "this is a log message ending in a newline
>> "
>
>It has already been noted that tcsh can't do this - I'll add that AFAIK
>cmd.exe can't either. I don't care very much about either of those,
>but there you are.

While CMD.EXE certainly can't handle newlines in command lines, tcsh can
handle it in this way:

svn ci -m "line one\
line two\
line three with trailing newline\
"

Note the trailing backslash on each line but the last.

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 5 22:10:52 2006

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.