adding some mercurial stuff