ANN: hg graphlog extension
TK Soh
teekaysoh at gmail.com
Mon Apr 2 14:29:43 UTC 2007
On 4/2/07, Joel Rosdahl <joel at rosdahl.net> wrote:
> "TK Soh" <teekaysoh at gmail.com> writes:
>
> > On 4/1/07, Joel Rosdahl <joel at rosdahl.net> wrote:
> >> Sean Dague <sean at dague.net> writes:
> >> > 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
> >>
> >> I like that idea. Implemented. Thanks!
> >
> > I just tried the latest revision of you repo, but I am still getting
> > the same output as before. Anything wrong?
>
> I forgot to say that the horizontal edges still end with a dot. What I
> did was to add an extra row before the "shift row". The above example
> should now look like this:
>
> | | | |
> 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
>
> Doesn't it look like that for you?
Yes, it does.
> Regarding the dot at the end of horizontal edges: They are there to
> indicate that the edge is coming to the node from the parent, not
> leaving the node and going to a child. But your variant maybe makes it
> more clear where the edge starts. I have to think some more about it.
> :-)
I wonder if using the '+' may make it more intuitive? We often use a
'+' to indicate two separate lines are joined:
| | | |
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
| | |
AND
| | |
+---o changeset: 4250:ca639faa38a2
| | | parent: 4244:7663780b55a7
| | | parent: 4249:89075f106414
| | | user: Alexis S. L. Carvalho <alexis at cecm.usp.br>
| | | date: Mon Mar 19 19:16:35 2007 -0300
| | | summary: Merge with crew-stable.
More information about the Mercurial
mailing list