Partial mercurial support.  Still need to implement bundle format