Re: [TopGit PATCH] tg-graph: print dependency graph like git log --graph
- From
- Michael Radziej <mir@noris.de>
- Date
- May 19, 2009, 13:39 UTC
- Message-ID
- <20090519133947.GE28702@noris.de>
- In-Reply-To
- <36ca99e90905190632q656a5855qe7624902ef82a3da@mail.gmail.com>
On Tue, May 19, Bert Wesarg wrote:
Show 32 quoted lines
> On Tue, May 19, 2009 at 15:10, Michael Radziej <mir@noris.de> wrote:
> > On Tue, May 19, Bert Wesarg wrote:
> >> And you see the error with all 3?
> >
> > Yes
> >
> >>
> >> Can you send the output from 'tg summary --graphviz' too?
> >
> > # 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"
> > ];
> >
> > \t"t/conflicts" -> "master";
> > \t"t/python" -> "master";
> > \t"t/tg-graph" -> "master";
> > }
> can you remove the '\t' and pipe the resulting file into this command
> inside your topgit work dir:
>
> cat "$file" | gvpr -f share/graph.gvprWorks:
* t/conflicts | * t/python |/ | * t/tg-graph |/ * master
(Wow, I had no idea graphviz can produce ASCII art!)
Where's the '\t' from? Is it a result of the "t/" prefix I used for the topic branches?
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