Re: [TopGit PATCH] tg-graph: print dependency graph like git log --graph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 19, 2009 at 16:32, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote:
> On Tue, May 19, 2009 at 16:14, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote:
>> On Tue, May 19, 2009 at 16:09, Michael Radziej <mir@xxxxxxxx> wrote:
>>> I see another issue. On a quite complicated repository, I did the "tg
>>> summary --graphviz ... edit ...  graphviz ..." dance, and there I get the
>>> following output:
>>>
>>> mir@mir:otrs-git$ cat /tmp/graph | gvpr -f ~/src/topgit/share/graph.gvpr
>>> gvpr: "/home/mir/src/topgit/share/graph.gvpr", line 936: gg_nl_ret +=
>>> graph_output_commit_line();<<<
>>>  -- cannot convert node_t to string
>> Ok, still two unrelated problems.
> And still I can't reproduce it here :(
I found a missing rename which causes random segfaults.

Here the diff:

--- a/share/graph.gvpr
+++ b/share/graph.gvpr
@@ -523,7 +523,7 @@ BEGIN {
                  * print the branch lines as "|".
                  */
                 if (gg_prev_state == GRAPH_POST_MERGE &&
-                    gg_prev_commit_index < gg_opcl_i)
+                    gg_prev_n_index < gg_opcl_i)
                     gg_opcl_sb += gg_write_column(gg_columns[gg_opcl_i], "\\");
                 else
                     gg_opcl_sb += gg_write_column(gg_columns[gg_opcl_i], "|");

patch tomorrow

Bert
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]