Add support for hg/git to locdiff