Khan/khan-linter — pull request #1 by phleet (2012-08-01 15:27:26+00:00)
Title: Use parents instead of heads to check for merge

I use bookmarks to manage multiple different local feature branches, so use 'hg heads' to check if it's a merge isn't right - as a result the hook was skipping lint on every single commit.