[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: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-11-26 22:45:02 CET

"Andy Levy" <andy.levy@gmail.com> writes:
> On Nov 26, 2007 9:10 AM, Ian Wood <Ian.Wood@sucden.co.uk> 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.

You can also just pass the --force flag to blame:

   $ svn blame --force myfile.csv


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 26 22:45:30 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.