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