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

Re: svn add and inconsistent line endings

From: Branko Čibej <brane_at_wandisco.com>
Date: Sun, 24 Feb 2013 20:45:10 +0100

On 24.02.2013 19:47, Stefan Küng wrote:
> On 24.02.2013 19:42, Branko Čibej wrote:
>
>> Regarding automatcially changing line endings -- we don't do that for a
>> very good reason: it's always been Subversion's policy to not touch file
>> contents unless explicitly told to do so. The line endings could be
>> inconsistent for reasons beyond Subversion's knowledge, and the property
>> might have been set erroneously. It's therefore up to the user to make
>> sure which is the case.
>
> I think if the property is set, then that's the ok from the user to
> just fix the eols.

Well, we decided differently 10 years ago for the reasons I listed
above, and I see no new argument that would overturn that reasoning.

>> (We're talking about adding files here, of course. Once a file is
>> committed, svn:eol-style does tell the client to fiddle with the line
>> endings.)
>
> No, the commit still errors out:

Yes, we're talking about adding files to the repository. Once they're in
the repository, things are different.

-- Brane

-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com
Received on 2013-02-24 20:45:50 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.