Offering hg log -G by default?

Matt Mackall mpm at selenic.com
Fri Dec 16 16:58:53 CST 2011


On Fri, 2011-12-16 at 18:00 +0100, Arne Babenhauserheide wrote:
> Hi, 
> 
> I’m currently doing some revising of the guide on
> mercurial.selenic.com, and since I want to use only core commands, I
> experienced quite painfully how useful the graphlog-extension is to
> visualize changes. 
> 
> Would it be possible to make the -G flag to hg log part of core? This
> should not have any negative effect on the user-interface, but it
> would enable users of an unconfigured Mercurial to get topology
> information on their history. And that’s something I consider a
> core-feature with branchy history (the default for people who do not
> use extensions). 

If you examine the implementation of log and graphlog you'll discover
they're basically completely different. The prerequisite for making log
-G a core feature is unifying the implementations.

And that probably means adding a no-graph mode to graphlog that exactly
matches the core log output for all our weird little options without too
many serious performance regressions.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list