Mercurial build support