47
54
except errors.NotBranchError:
48
55
source_repository = to_branch.repository
53
61
_set_branch_location(control_dir, to_branch, force)
57
_update(tree, source_repository, quiet, revision_id, store_uncommitted)
65
_update(tree, source_repository, quiet, revision_id, store_uncommitted)
58
66
_run_post_switch_hooks(control_dir, to_branch, force, revision_id)
60
68
def _check_pending_merges(control, force=False):