660
660
dir_to = br_from.bzrdir.clone(location_url,
661
661
revision_id=br_from.last_revision())
662
662
br_to = dir_to.open_branch()
664
664
# We successfully created the target, remember it
665
665
if br_from.get_push_location() is None or remember:
666
666
br_from.set_push_location(br_to.base)