897
900
@needs_write_lock # because merge pulls data into the branch.
898
901
def merge_from_branch(self, branch, to_revision=None, from_revision=None,
900
903
"""Merge from a branch into this working tree.
902
905
:param branch: The branch to merge from.