4421
4426
def run(self, to_location, force=False):
4422
4427
from bzrlib import switch
4425
4429
control_dir = bzrdir.BzrDir.open_containing(tree_location)[0]
4426
4435
switch.switch(control_dir, to_branch, force)
4427
4436
note('Switched to branch: %s',
4428
4437
urlutils.unescape_for_display(to_branch.base, 'utf-8'))