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

RE: inconsistent newlines reported in what is apparently a binary file

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2006-09-18 09:05:44 CEST

Dietfrid Mali wrote:
> Hi,
>
> TortoiseSVN v1.3.5.604 reports inconsistent newlines on what seems to
> be a binary Mac OS X file with the extension .icns.

When a file is added to a repository, Subversion tries to guess its type.
Check the svn:mime-type of the file. Probably it's set to "application/text"
or not at all. Set it to "application/octet-stream" and Subversion will
treat the file as binary and ignore any newline byte sequences in the
future.
You can also set auto-props for the .icns extension to make sure that these
files get the proper attributes in the future.
 
> I would very much like to have an option in TortoiseSVN to ignore
> inconsistent newlines, and for the diff tool to treat CRLF
> and LF line
> endings equally (and be it at the cost of performance).

There is and there will probably never be such an option for TortoiseSVN,
since it's built into Subversion.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 18 09:05:52 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.