1342
1342
The name of a local directory that exists but is empty.
1344
1344
from bzrlib.merge import merge
1347
1346
assert isinstance(branch_from, Branch)
1348
1347
assert isinstance(to_location, basestring)
1350
1349
br_to = Branch.initialize(to_location)
1351
1350
br_to.set_root_id(branch_from.get_root_id())
1353
1352
revno = branch_from.revno()
1356
1353
br_to.update_revisions(branch_from, stop_revision=revno)
1357
1354
merge((to_location, -1), (to_location, 0), this_dir=to_location,
1358
1355
check_clean=False, ignore_zero=True)