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

Re: Feature request: switch revisions or open diff from TBlame

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-02-23 20:43:28 CET

Christian Walther wrote:
> I often use the "svn blame" feature (and therefore, on Windows, TortoiseBlame)
> to get an answer to the question "Who the heck wrote that line, and when and
> why?". TortoiseBlame nicely provides all that information in its main view and
> the commit message tooltips. The next question that usually arises is, "How did
> the line look before that change?" To get the answer to that, I need to to a bit
> more work (unless I'm missing something): Locate the file in the Explorer again,
> choose "Show Log" from the TortoiseSVN menu, scroll to and select the correct
> revision, double-click the file in the list of changed files to get a diff. Or,
> choose "Blame" again, and this time use the revision number I found minus one
> instead of HEAD. Often, I even have to repeat these steps a second or third time
> because I find that the latest change to the line in question was merely a
> cosmetic one, and the real change I'm interested in happened earlier.
>
> It would be nice if TortoiseBlame could make this a bit easier by providing some
> of the following:
>
> - A revision field at the top of the window that allows me to enter a different
> "to" revision (maybe also one for the "from" revision, although I seldom use
> that). Maybe a menu or something that shows all the revisions in which the
> displayed file has changed and allows me to choose one with one click.

But you're aware that this will take as long as the initial blame command?

> - When I right-click on the "Revision" column in a line that was modified in,
> say, revision 454, an entry in the context menu "Blame revision 453" (Or "Blame
> previous revision" or something). Whether that new blame should replace the one
> currently displayed, or open in a new window, is up for discussion.

I think that would mean opening up a new window. Because TBlame doesn't
really know anything about Subversion - it's not linked against any of
the Subversion libraries. It simply shows data provided by TortoiseProc.
That means the best way to implement this would be to call TortoiseProc
from TBlame, asking it to fetch the blame data and open up another
instance of TBlame.

> - An entry "Show diff" in that context menu that opens TortoiseMerge with the
> differences between revision 453 and 454 of the file.

Same here as above. We should call TProc here to do the Subversion/diff
work.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Feb 23 20:43:40 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.