Pretty view of hg diff

Been using hg, and like to use hg diff to help me make better commit notes – but been spoiled by bitbuckets HTML view of diffs

So here is a quick script that I keep on my path for viewing hg diff, formated with pygments – I’m sure it would be very easy to adopt this to git.

here is the gist