603
600
return RevisionInfo(branch, revno, revision_id)
605
602
def _as_revision_id(self, context_branch):
607
605
if base_revision_id == revision.NULL_REVISION:
608
606
raise errors.InvalidRevisionSpec(self.user_spec, context_branch,
609
607
'cannot go before the null: revision')