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

Re: svn blame miscategorizing a file as binary

From: Archie Cobbs <archie_at_dellroad.org>
Date: 2004-10-06 21:22:00 CEST

John Peacock wrote:
> > $ svn proplist -v generic-build.xml
> > Properties on 'generic-build.xml':
> > svn:mime-type : text/xml
> ^^^^^^^^
> This is the reason. Subversion considers XML files to be binary for the
> simple reason that normal diff's won't always produce sensible patches
> for XML files. They may be human-readable, but they are not strictly text.

That can't be the reason, because I have another XML file that is also
"text/xml" and svn blame works fine on it.

Moreover, "svn diff" works fine with "text/xml" files... why shouldn't
"svn blame"? At best, there is an inconsistency.

I thought the "text" part was all svn looked at anyway.

Note that we use "text/xml" rather than "xml/blah" specifically so svn
will treat these files as text.

-Archie

__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 6 21:22:36 2004

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

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