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