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

Re: What is the correct way to add a binary file?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 11 Aug 2008 21:21:24 +0200

Philip wrote:
> Whenever I try to add a binary file, I get the message
> Error "<filename> has binary mime type property"
>
> Is this really an error? If so, what should I do differently?
>
> Or is this really a warning? In which case, is there any way to avoid
> the warning for files which I know are indeed binary files?
>
> What confuses me is that if I go ahead and commit anyway, everything
> seems to go fine. And I can add the files from the command line via
> "svn add" without getting this message.
>
> (I've read the docs and searched this newsgroup, but I don't see the
> answer. Maybe I'm overlooking something obvious.)

check your config file for auto-props.
And also check your folders for a tsvn:autoprops property.

If you've set the autoprops to include an svn:mime-type property *and*
svn:eol-style and/or svn:keywords property, then you'll get that error.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-08-11 21:21:47 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

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