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

RE: Re: "Compare with" = "Synchronization"?

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-09-29 18:47:56 CEST

"Ian Brockbank" <Ian.Brockbank@wolfsonmicro.com> wrote on 09/29/2004
12:12:26 PM:

> > Thanks, turning on "ignore whitespace" makes it usable.
> >
> > The code was created on windows and only checked in/out on
> > windows, so it shouldn't be line ending differences.
> >
> > The command line "svn diff" correctly shows only changes on these
> > suspect files. Does subclipse work differently because of Eclipse?
>
> Subversion always stores its pristine copies in Unix (LF-only) format.
> svn diff creates a "cleaned-up" version of the current working-copy file
> to diff against the pristine copy. Subclipse/eclipse uses the actual
> working copy compared against the pristine copy, so will see changes in
> line ending (and also in keywords).

My understanding is that, by default, Subversion stores all files as they
are. If they have CRLF, then that is what is stored. Subversion only
stores files internally with Unix-style line endings if the svn:eol-style
property is set. Then is stores the files with Unix-style endings and
converts the files as appropriate based on the property value when in the
WC.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Sep 30 02:47:56 2004

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.