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

Re: using LF in comment impossible since 1.6.x ?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 30 Oct 2009 08:55:42 -0400

On Fri, Oct 30, 2009 at 4:49 AM, Marc Lustig <ml_at_marclustig.com> wrote:

> since upgrading to 1.6.5 we cannot use log-messages anymore that contain
> line-breaks.
>
> This problem occurs in Subversive/Eclipse on windows.
> The problem does not occur when using the -F option on Linux to use
> file-bases commit-message.

Subversion log messages and also the content of all multi-line
versioned properties that are "reserved" by Subversion (the ones that
start with "svn:") cannot contain any line ending characters except
for LF.

This has always been true, but the Subversion server did not start
enforcing it until 1.6.x.

The problem is that the client API, for whatever reason, does not
normalize these line endings. So it is up the users of the API to do
this before calling the API to send the data to the server. As was
pointed out, in Subclipse we fixed this earlier in the year before 1.6
was GA. It sounds like Subversive needs a similar fix.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2412996
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-30 13:56:41 CET

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

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