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

Re: Blame on .csv and .sql files ( files which SVN thinks are binary )

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-11-27 23:50:36 CET

On Nov 27, 2007, at 10:34, Ian Wood wrote:

> On Nov 26, 2007 9:10 AM, Ian Wood wrote:
>>> Please can you tell me how I get SVN to blame .csv file and .sql
>>> files.
>> Apply an appropriate svn:mime-type property to them.
>> http://filext.com/file-extension/csv lists the mime-types commonly
>> used for CSV files (you probably want text/csv)
>> The same site doesn't have a listing for SQL files, but since they're
>> plain text, text/plain (which is what I use) should work fine.
>> IIRC, Subversion treats any mime-type starting with text/ as plain
>> text.
> I have changed the property to text/plain in some CSV files and it
> works, however I have also done the same to some .sql files and it
> doesn't work. However the property is correctly set.

Please show us the output of these two commands:

svn proplist -v yourfile.sql

svn blame yourfile.sql

> I am doing this via the TortoiseSVN WinClient - could this be the
> problem?

Of course TortoiseSVN should work but I have never used it so I
cannot provide any information. When in doubt, use the command line
client, which everyone on this list probably knows how to use and
help you with.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 27 23:51:21 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.