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

Re: svn diff behaviour with eol-style=native?

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-09-07 12:09:27 CEST

On Sep 4, 2006, at 19:33, Louis-Philippe Gagnon wrote:

> I've encountered an odd behaviour when using "svn diff" on a file
> marked with sv:eol-style=native, when working in Windows.
> Note that this isn't a "help, what do I do?" message, nor a "this
> program is broken!" message; more of a "how odd; anyone know
> something about this?" message. Please take it in that spirit ;)
> (tested with official Windows build of svn 1.3.2)
> Briefly: svn diff on a eol-style=native file generates an output
> with mixed-mode line endings; "control lines" ("Index: filename"
> and such) use native, CRLF line endings, but actual context and
> modified lines use Unix-style (LF-only) line endings.
> This has the unfortunate consequence that on Windows, with an eol-
> style=native file, even a simple "svn diff | patch -R" fails, as
> the diff's line endings don't match those of the working copy.
> (actually, as can be seen in the transcript below, patch.exe
> crashes. But that's a problem with the port of patch.exe I'm using,
> obviously not svn's fault)

All I know is it seems to be reported as this bug:


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 7 12:12:22 2006

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