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 15:39, Michael Radziej <mir@xxxxxxxx> wrote:
> On Tue, May 19, Bert Wesarg wrote:
>
>> On Tue, May 19, 2009 at 15:10, Michael Radziej <mir@xxxxxxxx> 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.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
--
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]