Mercurial: Prettypaths extension

# September 4, 2011

This is a simple extension to improve the output of the ‘hg paths’ command. I originally submitted a patch to the mercurial-devel list to achieve the same thing—given that my change alters the format of a builtin command, I don’t expect it to be accepted.

And so, the prettypaths extension: hg-prettypaths.

Configuration is minimal:

First, add the following to your ~/.hgrc:

# ...
prettypaths = /path/to/

Then (optionally) set --pretty as default:

# ...
paths = --pretty

comments powered by Disqus