this adds hg (Mercurial) SCM checkout support, very similar to the current git