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

Blame: "Ignore all whitespaces" Diff option behaves as "Ignore whitespace changes"

From: Uwe Schuster <tsvn_users_at_bitcommander.de>
Date: Sat, 11 Feb 2012 14:07:09 +0100

While implementing the Blame Diff options in Version Insight I've
noticed an issue with the Blame Diff options in version 1.7.4. I don't
know if this is regression. I've noticed it actually with 1.7.2 and it
is still there after updating to 1.7.4.

Steps:
1. create a new text file with a few lines and a single character in
each line (*1)
2. add + commit
3. add a space in front of a line (*2)
4. commit
5. add another space in front of the line modified in step 3. (*3)
6. commit
7. call blame with the Diff options
     [x] Ignore line endings
     (*) Ignore all whitespaces
8. check blame output

expected: all lines have the revision from step 2.
actual:
- all lines, but the line modified in step 3. and 5. have the revision
from step 2.
- the line modified in step 3. and 5. has the revision from step 4.

The actual result seems to be the same as using the option "Ignore
whitespace changes" and is similar to the SVN command line
"svn blame -x-b <file>". With the SVN command line "svn blame -x-w
<file>" or svn_diff_file_ignore_space_all in my implementation the
result is as expected.

*1
1
2
3
4
5

*2
1
2
   3
4
5

*3
1
2
    3
4
5

--
Uwe Schuster
http://sourceforge.net/projects/radstudioverins/
http://www.bitcommander.de/blog
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2921170
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-11 14:07:19 CET

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.