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

Re: Rev graph view all revisions

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2006-02-11 00:12:11 CET

Stefan Küng wrote:
> Simon Large wrote:
>
>> First of all, great work on the revision graph. It is *much* better
>> now showing the root and tip of every branch, and better still with
>> the show all revisions option. Shapes are good, icons look nice (apart
>> from the resolution, Lübbe ;-)
>>
>> One idea which occurred to me was another way of showing intermediate
>> revisions without doing a 'Show all' (don't try this on the Apache
>> repository!)
>>
>> Add a context menu option to each node which allows you to show/hide
>> all intermediate revisions between that node and its parent. I don't
>> know how hard that would be to code.
>
> I don't know either. But first, please define "parent" here. What
> exactly would be the parent of a node?
> A node can have multiple lines go *to* it, and multiple lines going away
> from it. So: what would be the parent in such a case?

Multiple lines *to* it? How can a single revision be copied from more
than one source? Or is this about copies from a WC?

I guess if there are multiple lines coming up to the node, you could
just expand all of them.

The other idea I had was to click on the line itself, which would then
map to a well-defined set of revisions, but that's a horribly difficult
mouse target. Maybe add a small [+] symbol where the line enters the box?

This is really just a nice-to-have feature, so don't lose sleep over it.

>> Also, in the view menu you might put "Show all %d revisions" which
>> gives some warning that the user is about to graph all 18000 revisions
>> of the subversion repository.
>
> Changing the menu text? If I can avoid that, I will.
> Maybe a dialog box, asking if the user really wants to show that many
> revisions (only shown if the number of revisions is > 1000)?
> Hmm - it's worse: without doing the whole analyzing process, we don't
> know how many nodes there will be. So changing the menu text is not
> possible (we don't know the number until the user clicks on the menu).
> And even the dialog isn't possible (or not with showing the number of
> nodes that will be shown).

I think you do know the number of revisions (because you fetched them
all from the repository) even if you don't know the number of nodes.

But a click-through dialog may be unpopular, so maybe this is not such a
great idea ... until the PC locks up while drawing zillions of boxes. Do
you check for CLOSE events periodically while drawing the graph?

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Feb 11 00:12:36 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.