From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Michael Radziej <mir@noris.de>
Cc: Petr Baudis <pasky@suse.cz>,
git@vger.kernel.org, martin f krafft <madduck@debian.org>,
Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>,
Adam Simpkins <adam@adamsimpkins.net>
Subject: Re: [TopGit PATCH v2] tg-graph: print dependency graph like git log --graph
Date: Wed, 20 May 2009 12:48:53 +0200 [thread overview]
Message-ID: <36ca99e90905200348i45e3ad0kf8efc655789702c0@mail.gmail.com> (raw)
In-Reply-To: <20090520103703.GS8212@noris.de>
On Wed, May 20, 2009 at 12:37, Michael Radziej <mir@noris.de> wrote:
> On Wed, May 20, Bert Wesarg wrote:
>
>> ChangeLog:
>> v2:
>> * fix rename bug which caused random segfaults in gvpr
>> * add --decorate option, to print horizontal line from graph node to patch
>> name (like gitk do it for commits with tags or branch decorations)
>> * in dfs mode we should maintain the order given by the input
>> * make dfs mode the default
>
> Hmm, still doesn't work, but in a different way ;-)
>
> 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.
> mir@mir:topgit (bw/tg-graph-v2)> tg summary --graphviz
> # GraphViz output; pipe to:
> # | dot -Tpng -o <ouput>
> # or
> # | dot -Txlib
>
> digraph G {
>
> graph [
> rankdir = "TB"
> label="TopGit Layout\n\n\n"
> fontsize = 14
> labelloc=top
> pad = "0.5,0.5"
> ];
>
> "30154name" -> "master";
> "30154name" -> "master";
> "30154name" -> "master";
> }
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"
Bert
>
> Michael
next prev parent reply other threads:[~2009-05-20 10:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 6:45 [TopGit PATCH v2] tg-graph: print dependency graph like git log --graph Bert Wesarg
2009-05-20 10:37 ` Michael Radziej
2009-05-20 10:48 ` Bert Wesarg [this message]
2009-05-20 11:58 ` Michael Radziej
2009-05-21 9:29 ` Bert Wesarg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36ca99e90905200348i45e3ad0kf8efc655789702c0@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=adam@adamsimpkins.net \
--cc=git@vger.kernel.org \
--cc=madduck@debian.org \
--cc=mir@noris.de \
--cc=pasky@suse.cz \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).