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

Re: [Subclipse-users] Create patch generates mixed line endings on Windows

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-06-10 14:43:13 CEST

On 6/10/07, sebb <sebbaz@gmail.com> wrote:
> Eclipse 3.2.2
> Subclipse 1.2.2
> Windows XP SP2
>
> Created a patch of a change to a java file (svn:eol native), and the
> output patch contains mixed line endings:
>
> Lines 1-5: CRLF
> Lines 6-8: LF (leading context)
> Line 9: LF (old line)
> Line 10: CRLF (new line)
> Lines 11-3: LF
>
> It looks as though the original lines are all LF-terminated, and
> generated lines have CRLF.
>
> The patch works if re-applied to the reverted file.
> Likewise if I change all the endings to CRLF in the patch file.
>
> Just curious: why is the file in mixed format?

Patches are made by running the svn diff API. The results are just
stored in the file/clipboard based on your choice.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Jun 10 14:43:18 2007

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

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