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

Re: binary detection algorithm in SVN

From: <kfogel_at_collab.net>
Date: 2005-06-16 21:21:23 CEST

"Cagatay Catal" <cagatay.catal@bte.mam.gov.tr> writes:
> Why is not that property set default? Or did I missunderstand sth about
> this?

It is not set by default because Subversion will not change a file by
default, even if Subversion "thinks" that file is text when it's
really binary.

If Subversion were like CVS (which expands keywords and transforms
line endings by default on text files), then it would be different.
But Subversion is more cautious than CVS. You have to set the
svn:keywords and svn:eol-style properties for those things to happen.

The main lossage that having a binary svn:mime-type prevents is with
the 'svn diff' command. In merges it helps too, but even there, the
pristine plaintexts are available to work with if Subversion tries to
merge something that shouldn't be merged.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 16 22:07:15 2005

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.