Added mercurial support