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

Re: .sql file is treated as binary

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-23 12:05:20 CEST

On Mon, 23 May 2005, erymuzuan wrote:

> why is it my *.sql files are treated as binary and not as text file,

When you import or add files, subversion tries to detect if it is a binary
or text file. It uses an heuristic to do that. If you know your file is a
text file, you can just remove the svn:mime-type property. For svn diff,
you can use --force to force a comparison even if the file is marked as
binary.

So, why was your file marked as binary in the first place? I don't know,
but one reaosn might be that it uses the UTF16 encoding. If that's the
case, diff and merge will not work. If possible, use an encoding with
ASCII as a subset, such as UTF8.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 23 11:57:28 2005

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.