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

Re: Inconsistent line ending style

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Fri, 14 May 2010 12:39:38 +0200

On Friday 14 May 2010, Simon Large wrote:
> 2010/5/14 Ulrich Eckhardt <eckhardt_at_satorlaser.com>:
> > On Thursday 13 May 2010, Simon Large wrote:
> >> I am curious how you managed to get mixed line endings in a new file
> >> that you have only just added to SVN. That suggests you are editing it
> >> using two different editors which change the line endings.
> >
> > I've had that repeatedly in the past. This was a combination of editing
> > with various editors on different OSs. Then, when you try to set
> > EOL-style to native on the legacy file, you first have to fix the line
> > endings.
>
> I thought the error in this instance came up after adding a file,
> hence the discussion about auto-props. Or was that a red herring?

Actually, I'm not sure. I believe that locally adding a file works even if it
has inconsistent line endings and eol-style via auto-props, while committing
that file gives you an error.

As far as I'm concerned, I don't care where a Magic Button(tm) is added, I
guess that it would be okay when setting the eol-style to alert the user if
necessary. Note however that when using auto-props, adding a file might set
that style, too, so it should be repeated there.

Uli

-- 
ML: http://tortoisesvn.tigris.org/list_etiquette.html
FAQ: http://tortoisesvn.net/faq
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2609037
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-14 12:39:51 CEST

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.