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