Fix requesting a Mercurial log up to a given revision.