Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to enable color in the output of Mercurial

📅 2013-Jan-25 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ color, extension, mercurial ⬩ 📚 Archive

The output of Mercurial commands at the terminal can really use some color. The file status, log output and especially the diff can be much easier to read and process with color.

This functionality is present in the color extension that ships with Mercurial. Enable this extension by modifying your Mercurial configuration file and you are done.

Tried with: Mercurial 2.0.2 and Ubuntu 12.04.1 LTS