22
22
from bzrlib.trace import note
25
def _run_post_switch_hooks(control_dir, to_branch, force, revision_id):
30
params = SwitchHookParams(control_dir, to_branch, force, revision_id)
34
25
def switch(control_dir, to_branch, force=False, quiet=False, revision_id=None):
35
26
"""Switch the branch associated with a checkout.