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

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 11 Feb 2012 14:41:09 +0100

On 11.02.2012 14:07, Uwe Schuster wrote:
> 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.

Opened issue #210 for this:
http://code.google.com/p/tortoisesvn/issues/detail?id=210

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2921174
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-11 14:41:20 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.