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

Re: blame to show list of revisions that changed a line

From: Lorenz <lorenznl_at_yahoo.com>
Date: Mon, 17 Nov 2008 08:40:36 +0000

Stefan Küng wrote:
>Lorenz wrote:
>> would it be possible to extend blame to show not only the last
>> revision that changed a line, but a list of all revisions that touched
>> that line?
>>
>> As far as I understand the internal workings of blame, it needs to do
>> a walk through and compare of all revisions anyway.
>>
>> Hm, if TSVN doesn't do the walk itself but uses a svn api routine,
>> then I'm probably asking this question in the wrong mailing list 8-)
>
>No, TSVN doesn't do the walk itself. I've thought of implementing the
>walk myself in TSVN so we could add buttons to TortoiseBlame for
>stepping through all revisions,

well, that would have been a realy nice feature 8-)

I think having a list of revisions that touched a line would be a
great improvement all on its own (perhaps as a drop down list where
the last changed revision is shown now).

But that information is something I would like the command line client
to provide too ... so I try to work up the courage to ask for that
feature in the users_at_subversion... list 8-)

By the way, is the blame info computed client- or server-side?

> but this could cause problems with very
>big files (we'd either have to store each revision of the file in a temp
>file, or worse keep everything in memory). Now imagine that for files >
>10 MB in size...

I'm not sure if it would be neccessary to have all revisions present
locally. I wouldn't mind the respose time needed when the relevant
revisions would be fetched on demand.
The use case that triggered my original question is more of the "when
did this line got screwed up initially" variant.

Meanwhile I discovered 'blame previous revision' in the context menu
of the revision/author column, that sort of does what I want.

But I inevitably end up with multiple blame windows, that are a little
difficult to distinguish because there is no information about the
blame-head.
I think it would help if the blame window would show the blame
revision range in the title bar.

-- 
Lorenz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-17 09:41:00 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.