Thread (5 messages) flat view 5 messages, 2 authors, 2016-08-13

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

From: Michael Radziej <hidden>
Date: 2016-06-15 22:46:48

On Wed, May 20, Bert Wesarg wrote:
quoted
a) graphviz 2.16-3ubuntu2

mir@mir:topgit (bw/tg-graph-v2)> tg graph
gvpr: "/usr/local/share/topgit/graph.gvpr", line 952: gg_nl_ret +=
graph_output_commit_line();<<<
 -- cannot convert node_t to string
Just a note: I have never seen this error on my side.
graphviz is too old on that system. I've updated to 2.20 and it works fine. 
Yeah, sorry I hand edited the patch to use printf instead of echo -e.

can you edit this line in tg-summary.sh:

printf "\t\"%s\" -> \"%s\";\n" "$$name" "$dep"

and change it to this (i.e. remove one '$' from '$$name'):

printf "\t\"%s\" -> \"%s\";\n" "$name" "$dep"
Did this, and it works now! (Cheeeers!)

I've attach the output from the big repository (well, the ASCII output is
not very useful, but the graphics obtained by tg graph --graphviz is). I
don't have an immediate idea how this could be improved, other than by
options to strip away a part of the dependencies.

Is 
 tg graph <branch-name>
expected to work? It results in:

mir@mir:otrs-git (master)> tg graph t/noris-followups
3e65695427cf1a15e8a8903e4b11f849045d6800
ccomps: node "t/noris-followups" not found in graph G - ignored

(and no further output)


Big thanks so far!

Michael

-- 
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourcing Company
 
Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - 
Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help