Updated mercurial plugin