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

Re: [Bug] - WorkingCopy Blame contains blame information from BASE - 1 instead of BASE

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 10 Oct 2008 21:51:28 +0200

Sander Rijken wrote:
> Hi,
>
>
> TortoiseBlame shows the wrong revision numbers when running blame on
> files in a working copy.
>
> To Repro check out this location:
> svn co http://anhsvn.open.collab.net/svn/ankhsvn/trunk/src/Ankh.UI/
>
> Expected blame info:
> svn blame AnkhUIModule.cs
>
> Compare this with the TortoiseSvn blame result.
>
> I can repro the revision numbers shown by TortoiseSvn by executing:
> svn blame AnkhUIModule.cs_at_3669 (ie the version before BASE)
>
> When running Tortoise's blame from the Repository Explorer, everything
> seems fine.

Easily reproducable, yes. But not a bug.
Did you notice the default options in the blame dialog?
It defaults to "ignore line endings" and "ignore all whitespaces". That
means, if a line only had whitespaces or eols changed, that revision
won't show in the blame later but the last revision something other than
whitespaces/eols have changed (which is IMHO what's really important,
that's why those settings are the default).
If you change the options (i.e., uncheck "ignore line endings" and check
the radio button "Compare whitespaces"), you'll get the same revisions
as with the 'svn blame AnkhUIModule.cs'.

Stefan

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

Received on 2008-10-10 21:52:07 CEST

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.