texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: switching to subversion


From: Patrice Dumas
Subject: Re: switching to subversion
Date: Fri, 22 Feb 2013 01:39:16 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Thu, Feb 21, 2013 at 11:58:18PM +0000, Karl Berry wrote:
>     There is some issue with the mime types that lead svn to consider text
>     files to be binary files.
> 
> I can fix things up, but how/where are you seeing this?  On Windows?

I never use Windows.  I see that on a debian wheezy.
$ svn --version
svn, version 1.6.17 (r1128011)
   compiled Jun  4 2012, 06:04:07


> I did tell cvs2svn to use a mime.types file in the conversion, but
> evidently that only affected non-text files, so no mime-type (or
> svn:eol-style, which is what usually matters) was set for most files
> everything binary.

Here is what I see:

$ cd tp
$ svn proplist prove.sh
Properties on 'prove.sh':
  svn:executable
  cvs2svn:cvs-rev
  svn:mime-type
$ svn propget svn:mime-type prove.sh
application/x-sh

So it is application/x-sh and not text/x-sh.  Then when I modify the
file and do a svn diff, I get:

$ svn diff prove.sh 
Index: prove.sh
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sh

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]