Using graphviz

Matt Mackall mpm at selenic.com
Tue Sep 6 11:33:37 CDT 2005


On Mon, Sep 05, 2005 at 10:07:55PM -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.

There's actually an existing command for this:

 hg debugindexdot .hg/00changelog.i

It has the advantage that it can show you the graph of the changelog,
the manifest, or individual files.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list