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.