mercurial compatibility