[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: David Weintraub <qazwart_at_gmail.com>
Date: Sat, 20 Sep 2008 22:15:58 -0400

As others have said, you can use the "mime-type". However, I wonder if
using "svn:eol-type=share" might be a better bet. Is the problem that
the file you're looking at is Unicode format, or is it due to the fact
that DOS text files end with a CTRL-Z?

The ".subversion" directory on Windows machines is located in the
%USERPROFILE% directory which in XP is normally the "C:\Documents and
Settings\<login>" directory. In Vista, I think it might be the
"C:\Home\<login>" directory.

Under the .subversion directory is the config file that contains the
settings for auto-properties, but before you do anything, try to
determine exactly what it doesn't like about your DOS text files: Is
it because they're in Unicode or because of the CTRL-Z at the end of
the file? I import files created on Windows XP machines without these
problems. But, most of these files were created with Eclipse, Textpad,
VIM, or another type of development style text editor.

Just curious, how are these text files being created?

--
David Weintraub
qazwart_at_gmail.com
On Sat, Sep 20, 2008 at 2:29 PM, baz themail <bazthemail_at_gmail.com> wrote:
> Hi,
>
> 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?
>
> Thank you.
>
> A.
>
---------------------------------------------------------------------
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-21 04:16:23 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.