I want to use customized template for hg log
which looks like this:
hg log --template '{node|short} {desc} [{date|age} by {author}]\'n --color=always
This in default terminal color is not very readable, so for instance I would like to make node red and desc green. How can I do this? In git I can define this kind of formatting like this:
git log --pretty=format:'%Cred%h%Creset %Cgreen%s%Creset [%ar by %an]'
Is a similar thing possible in mercurial?