bzrtools now does ancestry graphs

John A Meinel john at arbash-meinel.com
Thu Sep 1 07:59:54 BST 2005


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
> I've hacked up a new graph-ancestry command that draws graphs of the
> revision history.
>
> Sample output for the bzr mainline is here:
> http://www.aaronbentley.com/graphics/ancestry.png

This looks pretty good. You might want to set the priority of the
main-branch lines so that you get a straighter main branch. I don't
remember the exact methods of doing it, and I don't have time to dig
through my old code right now. But it might look nice.

>
> This is a collapsed graph; all straight-line nodes are removed.  Only
> nodes with multiple parents or multiple children are kept.

You might change the simple lines between nodes into say double lines or
somesuch to indicate that there are missing revisions there.

>
> Yellow nodes are the revision-history nodes.  Dotted lines mean these
> nodes are listed, but not found in the branch storage.
>
> Aaron

In general, I think it looks good. All we need is to be able to mouse-over
the individual entries and get extra information (commit message, etc).
I suppose that could be done with a web-page and a bit of javascript, not
really in a png file.

John
=:->





More information about the bazaar mailing list