1407
1407
# stop_revision must be a descendant of last_revision
1408
1408
stop_graph = self.repository.get_revision_graph(revision_id)
1410
1411
# our previous tip is not merged into stop_revision
1411
1412
raise errors.DivergedBranches(self, other_branch)
1412
1413
# make a new revision history from the graph