graphlog by default

Ellison Marks gotyaoi at hotmail.com
Wed Feb 4 18:56:08 UTC 2015


> Subject: Re: graphlog by default
> From: mpm at selenic.com
> To: gotyaoi at hotmail.com
> CC: mercurial at selenic.com
> Date: Wed, 4 Feb 2015 08:15:52 -0600
> 
> On Tue, 2015-02-03 at 23:19 -0800, Ellison Marks wrote:
> > Hello. As the subject says, I'm trying to get the output from hg log
> > to display the graph visualization by default. Looking into the
> > configuration docs, it seems there's defaults, which says it's
> > deprecated and to use alias instead, and alias, which says it's a bad
> > idea to shadow builtin commands. My muscle memory is pretty set into
> > typing log instead of glog or some other alias, so would anyone happen
> > to know what's the best/safest way to get the graph output from log by
> > default?
> 
> So you question is basically "what is the recommended way to do
> something that's not recommended?"
> 
> You might try [aliases] or [defaults]. Enjoy!
> 
> -- 
> Mathematics is the supreme nostalgia of our time.
> 
> 

I was more trying to figure out if I was missing something, obvious or unobvious. By your response, I'm guessing no. Since I don't really want to do something that has the potential to mess other tools up, I'll probably go with Harvey Chapman's suggestion of `gl` -> `log -G`. Short and hopefully easy to remember.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150204/3feb5d50/attachment-0002.html>


More information about the Mercurial mailing list