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