[issue3106] render graphlog keeping left most line of development unbroken

Vladimir Darmanian bugs at mercurial.selenic.com
Wed Nov 16 16:45:32 CST 2011


New submission from Vladimir Darmanian <vladimir.darmanian at gmail.com>:

Given that there is always at least one continuous line of development it
would make sense to always render it as the left-most line.

| | o  71
| | |
o---+  70
 / /
| o  69
| |
| o  68
| |
| o  67
| |
o |  66

The line of development from rev 66 is the 'main' one in my repo i.e.
continuous.
Looking at the graph, however, it is somewhat misleading - there's no reason
why rev 70 couldn't be rendered in column 2 and keeping the line from rev 66
nice and straight.

It even made me think there was a bug in the rendering - see bug report 3100
for more details.

My proposal is to render the above as follows instead:

| | o  71
| | |
| o-+  70
|  /
| o  69
| |
| o  68
| |
| o  67
| |
o |  66

Better yet, apply the 'keep it straight' approach to all deviations:

| | o  71
| | |
| o |  70
| |/
| o  69
| |
| o  68
| |
| o  67
| |
o |  66

I find this far simpler, clearer and easier to read - just a quick glance
and it's obvious what's going on, without any paths across lines.

----------
messages: 18093
nosy: pltonik
priority: feature
status: unread
title: render graphlog keeping left most line of development unbroken

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3106>
____________________________________________________


More information about the Mercurial-devel mailing list