746
749
def set_parent_trees(self, parents_list, allow_leftmost_as_ghost=False):
747
750
"""See MutableTree.set_parent_trees."""
748
751
parent_ids = [osutils.safe_revision_id(rev) for (rev, tree) in parents_list]
750
755
self._check_parents_for_ghosts(parent_ids,
751
756
allow_leftmost_as_ghost=allow_leftmost_as_ghost)
755
760
leftmost_parent_tree = None
757
762
leftmost_parent_id, leftmost_parent_tree = parents_list[0]