Le 14/09/2015 21:23, Stefan Küng a écrit :
> 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.
Hi,
Thanks for the answer but it doesn't explain the bug.
For the correct blame (right-click on file : F in the following), the
dialog shows :
From Revision : 1 To revision : Revision 19450
(It corresponds to F 1, 19450)
For the incorrect blame (right-click on file in show log : SL in the
following), the dialog shows :
From Revision : 1 To revision : Revision 18389
(It corresponds to SL 1, 18389)
Only the "To revision" change, the incorrect blame is not caused by this
since in the blame the first changes until commit 12742 are modified but
the later commits are not modified .
For example,
F 1, 18389
is still different from
SL 1, 18389
, and
SL 1, 19450
is still different from
F 1, 19450
All the others settings in the blame dialog are identical.
I tried also
F 12742, 18389
or
F 12741, 18389
but it's still different from
SL 1, 18389
(the first changes are attributed to "---" instead of "12742").
Best regards,
Laurent Lyaudet
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3137675
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-09-15 09:12:50 CEST