| less or more don't display colors

Uwe Brauer oub at mat.ucm.es
Mon Feb 1 18:28:30 UTC 2016


Hello

I have the following alias (found somewhere on the web)
lg = log --template "{label('custom.rev', rev)}\t{label('custom.phase',phase)}\t{label('custom.tag',tags)}\t{desc|firstline} {label('custom.age', date|age)} {label('custom.user', author|user)}\n" 

That produces a very nice colored output.

However, since the output is very large,  I run

 hg lg | more

But then  the colors are not displayed (using less the same occurs)

Is there any possibility to display colors in this stetting?

Thanks

Uwe Brauer 



More information about the Mercurial mailing list