Module b.switch

Part of bzrlib

No module docstring
Line # Kind Name Docs
25 Function switch Switch the branch associated with a checkout.
42 Function _check_pending_merges Check that there are no outstanding pending merges before switching.
62 Function _set_branch_location Set location value of a branch reference.
96 Function _any_local_commits Does this branch have any commits not in the master branch?
115 Function _update Update a working tree to the latest revision of its branch.
def switch(control_dir, to_branch, force=False):
Switch the branch associated with a checkout.
Parameterscontrol_dirBzrDir of the checkout to change
to_branchbranch that the checkout is to reference
forceskip the check for local commits in a heavy checkout
def _check_pending_merges(control, force=False):
Check that there are no outstanding pending merges before switching.
ParameterscontrolBzrDir of the branch to check
def _set_branch_location(control, to_branch, force=False):
Set location value of a branch reference.
ParameterscontrolBzrDir of the checkout to change
to_branchbranch that the checkout is to reference
forceskip the check for local commits in a heavy checkout
def _any_local_commits(this_branch, possible_transports):
Does this branch have any commits not in the master branch?
def _update(tree, source_repository):
Update a working tree to the latest revision of its branch.
Parameterstreethe working tree
source_repositoryrepository holding the revisions
API Documentation for BzrLib, generated by pydoctor at 2008-06-25 00:00:15.