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

Re: Unable to set the proper line termination....

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 10 Jan 2013 21:53:31 +0100

On 10.01.2013 21:47, Nicolas Riendeau wrote:
> Hi!
>
> I have to modify a very old VB6 program the company I work for use
> and I am having trouble with the line terminations.
>
> When I do a checkout using Tortoise the files I get have Unix-style
> line terminations (ie LF only) which (MS) VB6 cannot deal with (it's
> expecting to see CR + LF).
>
> I have tried enabling auto-props and setting the svn:eol-style to
> CRLF in Tortoise's config file or setting the svn:eol-style for the
> existing file to CRLF but the files I checkout OR the ones already
> checked out if I change the property on a per file basis still have
> only a LF.
>
> How can I fix this?

The svn:eol-style property only works on files that have either no
svn:mime-type property set or the property is set to a text mime-type.
I suspect your VB files have the property set to
'application/octet-stream' instead for some reason.
But: if the mime-type is set to a non-text format, you have to find out
first why before you remove or change it.

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3042543
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-10 21:53:40 CET

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.