Initial mercurial support