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

svn diff doesn't ignore all eols

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-09-07 20:21:48 CEST


when using 'svn diff' on a modified file (which doesn't have the
svn:eol-style property set) and specifying '-x--ignore-eol-style', the
eol is only ignored for non-empty lines. Empty lines still show up as

Steps to reproduce:

1) create a text file, containing several lines.
2) insert an empty line in between every text line in that file
3) save the file
4) 'svn add file'
4.5) make sure that the svn:eol-style property is *not* set on that file
(e.g., due to the configured autoprops).
5) 'svn ci -m ""'
6) open the text file in an editor, change all line endings (e.g., from
CRLF to LF).
7) save the file again with the changed eols
8) 'svn diff -x--ignore-eol-style file'

this will output all empty lines as different, but not the non-empty lines.

I expected the empty lines to be ignored too.

(using svn.exe 1.5.0 dev build, compiled Sep 4 2007, built from r26443)


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 7 20:18:45 2007

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