raise a better exception if the Mercurial revision doesn't have the right shape