Initial import from Mercurial.