add mercurial in dependencies