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

Re: [Subclipse-users] Comparing file with differend line endings

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-08-23 17:46:16 CEST

"Jakub Kozisek" <jakub.kozisek@gmail.com> wrote on 08/23/2006 11:38:39 AM:

> I'm quite freshy user of Subclipse and Subversion on general and met
> one problem these days.
> Sometimes when I'm comparing files I often see whole contest
> highlighted because of different new-line separators on Windows and
> Linux.
> CVS is providing a solution, you can find it here:
> Window -> Preferences... -> Team -> CVS -> Files and Folders ->
> Convert text files to use platform line ending
> Is there any way to force Subclipse to convert those endings too?
> (JavaSVN is used as a SVN interface)
> If not, is this planned to integrate into Subclipse too?

Subversion will do this if you set the property svn:eol-style to a value
of native for each file that you want to do this. However, doing so will
mess up your blame output unless all of the files are already stored with
LF line endings in the repository. You can configure "auto-props" in the
Subversion runtime configuration area so that as you add new files in the
future this property is set automatically for specific file types.

The Eclipse compare editor has a preference to ignore line endings. In
3.2, it is also a button on the tool-bar so that you can toggle it.


To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Aug 23 17:46:35 2006

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.