ANN: hg graphlog extension

Joel Rosdahl joel at rosdahl.net
Mon Apr 2 01:14:21 CDT 2007


"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?

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. 
:-)

-- 
Regards,
Joel Rosdahl <joel at rosdahl.net>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D  8B22 0064 F9FF BB84 5E97


More information about the Mercurial mailing list