17
17
# Original author: David Allouche
19
19
from bzrlib import errors, merge, revision
22
21
from bzrlib.trace import note
24
def _run_post_switch_hooks(control_dir, to_branch, force, revision_id):
29
params = SwitchHookParams(control_dir, to_branch, force, revision_id)
25
33
def switch(control_dir, to_branch, force=False, quiet=False, revision_id=None):
26
34
"""Switch the branch associated with a checkout.