Using graphviz

Eric M. Hopper hopper at omnifarious.org
Tue Sep 6 01:33:54 CDT 2005


On Mon, 2005-09-05 at 22:07 -0700, Eric M. Hopper wrote:
> Perhaps this has come up before, but I wrote a small hack to the log
> command that causes it to output data suitable for feeding into 'dot'
> from the graphviz package.  This is kind of neat to see as it will
> graphically represent all the branches and stuff for you, but it outputs
> files that use up too much memory in most viewing programs, even if
> you're just looking at the past few hundred history elements.
> 
> I've thought of trying to alter it to compress all sets of changes
> between branch and/or merge points down to one node, and that might help
> a lot, but I was curious if anybody had any other suggestions.

As an experiment, here's a graph of

http://hg.serpentine.com/mercurial/bos

from 40a66d464ac2 to cb4c423cbb38 split into two pieces.  These are very
large images, the second is about 3 times larger than the first.

http://www.omnifarious.org.nyud.net:8090/~hopper/lj-images/mercurial-604-750.png

http://www.omnifarious.org.nyud.net:8090/~hopper/lj-images/mercurial-750-tip.png

Also, the links have been coralized, so they may take a bit to start loading.

Have fun (if at all possible),
-- 
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- Eric Hopper (hopper at omnifarious.org  http://www.omnifarious.org/~hopper) --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050905/705c390b/attachment.pgp


More information about the Mercurial mailing list