How to enable color in the output of Mercurial

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

Advertisements

One thought on “How to enable color in the output of Mercurial

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s