ANN: hg graphlog extension

Sean Dague sean at dague.net
Mon Mar 26 08:07:56 CDT 2007


On Sun, Mar 25, 2007 at 11:36:37PM +0200, Joel Rosdahl wrote:
> "TK Soh" <teekaysoh at gmail.com> writes:
> 
> > [...]
> > The graph around crew rev 4260:29eb88bd5c8d look a little confusing
> > to me. Can you help clarify it?
> >
> > o | | |  changeset:   4261:1eaa8d90c689
> > | | | |  user:        Eric St-Jean <esj at wwd.ca>
> > | | | |  date:        Wed Mar 21 23:20:56 2007 -0400
> > | | | |  summary:     fix util.copyfile to deal with symlinks
> > | | | |
> > o--.| |  changeset:   4260:29eb88bd5c8d
> >  / / /   user:        Brendan Cully <brendan at kublai.com>
> > | | |    date:        Fri Mar 23 14:11:31 2007 -0700
> > | | |    summary:     hg-relink: do not compare .d files
> > | | |
> > | o |  changeset:   4259:bda63383d529
> > | | |  user:        Brendan Cully <brendan at kublai.com>
> > | | |  date:        Wed Mar 21 14:06:25 2007 -0700
> > | | |  summary:     Make import opportunistically use merge information
> 
> (Added a missing space above before the forward slashes.)
> 
> The layout of changeset 4260 is supposed to show that 4259 is a parent
> of 4260 and that the second vertical edge from the left goes under the
> horizontal edge ("--.") at changeset 4260 and then becomes the
> leftmost edge further down.
> 
> I can think of three or four alternative layouts:

I don't know if your drawing routines let you shift anywhere excep the line
after the merge, but the following also gets the point across reasonably.
 
A (the current):
 
   | | | |
   o---| |  changeset:   4260:29eb88bd5c8d
     | | |  user:        Brendan Cully <brendan at kublai.com>
    / / /   date:        Fri Mar 23 14:11:31 2007 -0700
   | | |    summary:     hg-relink: do not compare .d files
   | | |
   | o |  changeset:   4259:bda63383d529
   | | |  user:        Brendan Cully <brendan at kublai.com>
   | | |  date:        Wed Mar 21 14:06:25 2007 -0700
   | | |  summary:     Make import opportunistically use merge information


	-Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20070326/3fdb2b06/attachment.pgp


More information about the Mercurial mailing list