adding support for mercurial