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

Re: Bug report on blame

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 14 Sep 2015 21:23:11 +0200

On 10.09.2015 09:37, Laurent LYAUDET wrote:
> Hi,
>
> I've found a bug with blame that I can reproduce.
> I don't know if the bug is from tortoise or from svn and hope you can
> help me find out.
> I'm using latest stable version 1.9.1 on windows 7.
>
> The incorrect blame is on some particular file "DB.class.php" in my project.
> I obtain two distinct blames for the same file : one is correct and the
> other is not.
>
> Correct blame :
> - In explorer, go to the file, right click on it and select Tortoise SVN
> -> blame.
>
> Incorrect blame :
> - In explorer, go to the folder containing your project, right click on
> it and select Tortoise SVN -> show log.
> - In show log find the latest commit modifying the file DB.class.php,
> select this commit (18389)
> - In the commit detail, right click on the file DB.class.php, select blame
>
> The incorrect blame is incorrect for the following reason :
> - all the lines that are attributed to commits before 12742 in the
> correct blame are attributed to commit 12742 in the incorrect blame.

Check the revision that's pre-filled in in the blame dialog (the one you
see before the actual blame operation is started): when you start it
from the explorer, the revision is the last-committed revision of the
file (i.e. usually how it looks in HEAD). If you do that from the log
dialog, the revision you right-clicked on is used.
That's why the blame output is different.

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=3137616
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-09-14 21:23:17 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.