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.

(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:

svn add file      // svn:eol-style set to 'native' via autoprops
svn ci file -m""

now modify the file so it has inconsistent line endings.

svn ci file -m""
errors out.

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest interface to (Sub)version control
   /_/   \_\     http://tortoisesvn.net

Reply via email to