579
579
raise errors.InvalidRevisionSpec(self.user_spec, context_branch,
580
580
'cannot go before the null: revision')
581
581
context_repo = context_branch.repository
584
583
parent_map = context_repo.get_parent_map([base_revision_id])
587
584
if base_revision_id not in parent_map:
588
585
# Ghost, or unknown revision id
589
586
raise errors.InvalidRevisionSpec(self.user_spec, context_branch,