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

Re: strange results of blame operation

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 15 Feb 2009 08:21:02 +0100

Brazhnik wrote:
> Hi,
> since version 1.5 TortoiseSvn blame command has strange behavior on
> some files from my repository.
> For that files TortoiseBlame shows wrong revision numbers for some lines.
> "Show difference" operation opens diff for unexpected commit num.
>
> Recently I found a file in the TortoiseSvn repository with the same behavior.
> It is http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/TortoiseProc/RevisionGraph/FullGraphBuilder.cpp
>
> I call TortoiseSvn (v1.5.8) Blame for revisions 1:15332 + ignore EOL +
> ignore all whitespaces.
>
> 1. TortoiseBlame shows that lines 579-645 changed in commit 1987 but
> it is not true?
>
> I call TSVN Blame with 'use text viewer to view blame':
>
> 2. Why all of lines marked with 'G' prefix?
>
> 3. Why some of line has first rev num greater than second rev (like
> line num 507: 12347 > 10069)
> but some of line has first rev num _less_ than second rev (like 509:
> 10069 < 14228)?
>
>
> In my investigation I found that 'svn blame' with option '-g' gets
> strange results for theese files.
> In write in users_at_svn
> (http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1120874)
> but silence answers me.

On the TSVN trunk, the blame dialog has a checkbox to disable the '-g'
switch. That will help with those situations.
Also, the blame for
trunk/src/TortoiseProc/RevisionGraph/FullGraphBuilder.cpp with the
latest nightly build seems to be fine, so I guess at least that problem
is fixed already in the svn library.

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=1163082
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-02-15 08:21:21 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.