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

Re: line-ending weirdness with "svn-diff"

From: Grant Edwards <grante_at_visi.com>
Date: 2007-09-22 19:02:03 CEST

On 2007-09-22, Grant Edwards <grante@visi.com> wrote:

> If I check out a working copy of a project, "touch" a file, and
> then do an "svn diff" on that file, it shows every line in the
> file has changed.
> The file has svn:eol-style == LF, and working copy has
> line-feed endings. When I tell "svn diff" to use an external
> diff command, the referece file (the non-touched one) that's
> passed to it has CR/LF line endings.
> If I look at .svn/text-base/<filename>, it has CR/LF line
> endings.
> What's going on?

I've come to the conclusion that the files in the svn
repository have CR/LF line endings. That's probably a result
of their having been originally in VSS.

Grant Edwards                   grante             Yow!  ALFRED JARRY! Say
                                  at               something about th' DEATH
                               visi.com            of DISCO!!
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 22 19:02:37 2007

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.