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

Re: problems with checking a text file: svn thinks that it is a binary

From: steveking <steveking_at_gmx.ch>
Date: Sat, 20 Sep 2008 20:48:55 +0200

Karl Fogel wrote:
> "baz themail" <bazthemail_at_gmail.com> writes:
>> When adding a new dos text file with extension ".txt", svn thinks that it is a
>> binary. Is there anyway to configure that? Is it mime-type related?
> 'svn propset svn:mime-type text/plain yourfile.txt'

Be careful with that. A text file can be encoded in utf-16 (unicode),
and Subversion can't handle that as text. If your file is unicode, then
you have to live with the fact that Subversion treats it as binary.
And then don't set the svn:mime-type property to text/plain!


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-20 20:49:28 CEST

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.