4480
4485
def run(self, to_location, force=False):
4481
4486
from bzrlib import switch
4484
4488
control_dir = bzrdir.BzrDir.open_containing(tree_location)[0]
4485
4494
switch.switch(control_dir, to_branch, force)
4486
4495
note('Switched to branch: %s',
4487
4496
urlutils.unescape_for_display(to_branch.base, 'utf-8'))