[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: Ian Wood <Ian.Wood_at_sucden.co.uk>
Date: 2007-11-28 12:38:58 CET

Thanks for your relpy.

I opened up cmd.exe and the results are below.

> svn proplist -v yourfile.sql
Properties on 'yourfile.sql':
  svn:mime-type : text/plain

>svn blame yourfile.sql
Skipping binary file: 'yourfile.sql'

Best regards,


-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
Sent: 27 November 2007 22:51
To: Ian Wood
Cc: Andy Levy; users@subversion.tigris.org
Subject: Re: Blame on .csv and .sql files ( files which SVN thinks are
binary )

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.

Sucden (UK) Limited, 5 London Bridge Street, London SE1 9SG
Telephone +44 20 7940 9400
Registered in England no. 1095841
VAT registration no. GB 446 9061 33
Authorised and Regulated by the Financial Services Authority (FSA) and entered in the FSA register under no. 114239

This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you are not the intended recipient of this message, please notify postmaster@sucden.co.uk immediately and delete it from your computer system.

We believe, but do not warrant, that this email and its attachments are virus-free, but you should check.

Sucden (UK) Ltd may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden?s monitoring the content of any emails you send to or receive from Sucden. Sucden is not liable for any opinions expressed by the sender where this is a non-business email.
The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment.
This message has been scanned for viruses by BlackSpider MailControl

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 28 12:40:48 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.