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

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

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Thu, 10 Jan 2013 21:26:28 +0000

On 10 January 2013 21:14, Nicolas Riendeau <forums_at_riendeau.org> wrote:
> Hi and thank you!
>
> Under the file properties, Subversion tab, Properties I only see the property I added (svn:eol-style) and in some cases svn:executable (removing it doesn't fix the problem), nothing else.
>
> When I added the property the files were considered modified but opening them with a file editor that shows the line terminations (it's a lot faster than using the VB6 IDE) still still only shows a LF.

Changing the property marks the file as changed (prop change) but has
no effect on the line endings until you commit the file.

Simon

>> 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=3042550
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-01-10 22:26:38 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.