From: Bert Wesarg Date: Tue, 19 May 2009 13:51:34 GMT Subject: Re: [TopGit PATCH] tg-graph: print dependency graph like git log --graph Message-ID: <36ca99e90905190651tfed03f9ha87ca32b3aee2599@mail.gmail.com> In-Reply-To: <20090519133947.GE28702@noris.de> On Tue, May 19, 2009 at 15:39, Michael Radziej wrote: > On Tue, May 19, Bert Wesarg wrote: > >> On Tue, May 19, 2009 at 15:10, Michael Radziej 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 >> > # 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.gvpr > > Works: > > * 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? No its just a formating tab to make the output of summary --graphviz nicer ;-) As martin suggests, you can remove any "\t" from the 'echo' lines in tg-summary or add a '-e' option to it. I will probably post tomorrow an updated patch. Bert > > Michael