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

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

From: sebb <sebbaz_at_gmail.com>
Date: 2007-06-10 13:32:06 CEST

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?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Jun 10 13:32:27 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.