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

Re: non-LF line endings in log message

From: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 5 Aug 2008 10:21:41 -0400

On Tue, Aug 5, 2008 at 7:02 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> Garret Wilson wrote on Mon, 4 Aug 2008 at 21:50 -0700:
>> I'm an experienced Subversion user. Today I tried to do a commit with 1.5
>> client and server from within Eclipse+Subclipse using the following log
>> message (without the quotes):
>>
>> "Improved TURF generation.
>> Added to the URF content ontology."
>>
>> The commit fails, claiming that the RA request later failed to set the
>> property 'log' and could therefore not execute PROPPATCH.
>>
>> My Apache error log shows the following:
>>
>> [Mon Aug 04 21:36:50 2008] [error] [client x.x.x.x] Could not execute
>> PROPPATCH. [500, #206]
>> [Mon Aug 04 21:36:50 2008] [error] [client x.x.x.x] Cannot accept non-LF
>> line endings in log message [500, #125005]
>>
>> I removed the second line and everything committed fine.
>>
>> What's the problem? Is there some new Subversion bug that won't allow
>> multiple lines? I only pressed the Enter key, and I went back and retried
>> the submission several times, removing the line break and gently pressing
>> Enter.
>>
>> Garret
>
> It's a bug in Subclipse, they should be normalising the log message to
> LF/UTF-8 before sending it to the repository. We started enforcing this
> requirement only recently (r31614), but it has always been part of the
> API.

No Daniel it is not. Subclipse use JavaHL. If anything needs to be
done with the commit message then it is the responsibility of the
JavaHL library to do so. That said, I am sure whatever needs to be
done is done in the API already.

Perhaps the user is using SVNKit with Subclipse and this is a bug in
SVNKit? If so it should be reported to support_at_svnkit.com.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-05 16:22:06 CEST

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.