Setup mercurial stuff