Re:'git lg' instead of the default 'git log'
by mamcx on Monday February 24, 2014 @04:39PM
(#7293569)
Something like this for mercurial?
[ Parent
| on HN ]
Re:'git lg' instead of the default 'git log'
by dpassen1 on Monday February 24, 2014 @04:43PM
(#7293600)
This is the closest I could get to this when I was using Mercurial daily. Using the color extension:
[color]
custom.rev = red
custom.bm = yellow
custom.date = green
custom.author = blue
[alias]
lg = log -G --template "{label('custom.rev',node|short)} - {if(bookmarks,'(')}{label('custom.bm',bookmarks)}{if(bookmarks,') ')}{desc|firstline} ({label('custom.date',date|age)}) <{label('custom.author',author|person)}>" -b .