Proposing compact graph log

Greg Ward greg at gerg.ca
Mon Jun 2 07:05:33 CDT 2014


On 01 June 2014, Santiago Payà i Miralta said:
> Hello,
> 
> I would ask for a review of the --graph log option. When using --graph with
> a --template the resulting DAG chain always shows the changesets connected
> by a row of vertical edges '|', regardless of using '\n' or not in the
> --template parameter:
> 
> $ hg log -G --template={rev} -l 3
> @  21644
> |
> o  21643
> |
> o  21642
> |
> 
> And what is proposed is:
> 
> $ hg log -G --template={rev} -l 3
> @  21644
> o  21643
> o  21642
> 
> You can see my point of view detailed in this blog [1].

That blog post doesn't really explain things, it just shows a bunch of
examples. You'll get better feedback if you 1) explain exactly what
you want to change and 2) provide a patch.

That said, backwards incompatible changes to Mercurial are not done
lightly. You might be better off writing an extension to show to the
world that your way is better.

       Greg
-- 
Greg Ward                            http://www.gerg.ca
<greg at gerg.ca>                       @gergdotca


More information about the Mercurial-devel mailing list