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

Re: Idea for revision graph

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-11-22 12:51:44 CET

Peter Mounce wrote:
> This is kind of a hare-brained idea I had...
>
>
>
> I was just thinking that it would be really cool if the lines on the
> revision graph could be made to represent the distance between two
> branches, so by looking at the graph, one sees how diverged two branches
> are. So for example, you’ve started a spike from the trunk to develop a
> feature in. You know the best practise says “merge the updates in the
> trunk to my branch as often as possible so you’ll have less merging pain
> later”. But how often is often enough? Perhaps you have people on your
> team that commit small changes often – perhaps you have people on your
> team that don’t really get that that’s a good idea yet, and just commit
> whatever they’ve changed at the end of the day, and you’re not allowed
> violence in the office.
>
>
>
> It would be nice if one could hit the revision graph, and see the
> divergence of a branch for another graphically. So perhaps something
> like number of differences from A to B and B to A would determine the
> distance. Perhaps there could be two lines per branch; one that
> represents A to B, one that represents B to A. Then the user knows when
> he’s getting dangerously diverged from the trunk and needs to sync from it.

There are many problems here:

* what's the definition of 'distance'? Number of commits? Changed lines?
Changed bytes? Changed files? Changed lines without whitespace changes?
* to calculate the distance (no matter which definition), you have to do
an actual diff between those two. Now, imagine a revision graph of a
/trunk url, which also has 40 tags already. That's 40 diffs of maybe a
very large codebase. Considering how long it already takes now to show
the graph, imagine how long it would take with that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Nov 22 12:51:58 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.