1451
1451
def copy_branch(branch_from, to_location, revision=None):
1452
1452
"""Copy branch_from into the existing directory to_location.
1456
1461
from bzrlib.merge import merge
1457
1462
from bzrlib.branch import Branch
1458
1467
br_to = Branch(to_location, init=True)
1459
1468
br_to.set_root_id(branch_from.get_root_id())