b.p.w.b.BzrDirPreSplitOut(BzrDir) : class documentation

Part of bzrlib.plugins.weave_fmt.bzrdir View In Hierarchy

Known subclasses: bzrlib.plugins.weave_fmt.bzrdir.BzrDir4, bzrlib.plugins.weave_fmt.bzrdir.BzrDir5, bzrlib.plugins.weave_fmt.bzrdir.BzrDir6

A common class for the all-in-one formats.
Method __init__ See BzrDir.__init__.
Method break_lock Pre-splitout bzrdirs do not suffer from stale locks.
Method cloning_metadir Produce a metadir suitable for cloning with.
Method clone See BzrDir.clone().
Method create_branch See BzrDir.create_branch.
Method destroy_branch See BzrDir.destroy_branch.
Method create_repository See BzrDir.create_repository.
Method destroy_repository See BzrDir.destroy_repository.
Method create_workingtree See BzrDir.create_workingtree.
Method destroy_workingtree See BzrDir.destroy_workingtree.
Method destroy_workingtree_metadata See BzrDir.destroy_workingtree_metadata.
Method get_branch_transport See BzrDir.get_branch_transport().
Method get_repository_transport See BzrDir.get_repository_transport().
Method get_workingtree_transport See BzrDir.get_workingtree_transport().
Method needs_format_conversion See BzrDir.needs_format_conversion().
Method open_branch See BzrDir.open_branch.
Method sprout See BzrDir.sprout().
Method _init_workingtree Undocumented

Inherited from BzrDir:

Method check_conversion_target Check that a bzrdir as a whole can be converted to a new format.
Method clone_on_transport Clone this bzrdir and its contents to transport verbatim.
Method determine_repository_policy Return an object representing a policy to use.
Method generate_backup_name Undocumented
Method backup_bzrdir Backup this bzr control directory.
Method retire_bzrdir Permanently disable the bzrdir.
Method find_repository Find the repository that should be used.
Method get_config Get configuration for this BzrDir.
Method user_transport Undocumented
Method control_transport Undocumented
Method is_control_filename True if filename is the name of a path which is reserved for bzrdir's.
Class Method create Create a new BzrDir at the url 'base'.
Method _make_tail Undocumented
Method _find_or_create_repository Create a new repository if needed, returning the repository.
Method _find_source_repo Find the source branch and repo for a sprout operation.
Method _sprout Undocumented
Method _available_backup_name Find a non-existing backup file name based on base.
Method _find_containing Find something in a containing control directory.
Method _find_creation_modes Determine the appropriate modes for files and directories.
Method _get_file_mode Return Unix mode for newly created files, or None.
Method _get_dir_mode Return Unix mode for newly created directories, or None.
Method _get_config By default, no configuration is available.
Method _cloning_metadir Produce a metadir suitable for cloning with.

Inherited from ControlDir (via BzrDir):

Method can_convert_format Return true if this controldir is one whose format we can convert
Method list_branches Return a sequence of all branches local to this control directory.
Method find_branch_format Find the branch 'format' for this controldir.
Method get_branch_reference Return the referenced URL for the branch in this controldir.
Method open_repository Open the repository object at this ControlDir if one is present.
Method open_workingtree Open the workingtree object at this ControlDir if one is present.
Method has_branch Tell if this controldir contains a branch.
Method has_workingtree Tell if this controldir contains a working tree.
Method checkout_metadir Produce a metadir suitable for checkouts of this controldir.
Method push_branch Push the source branch into this ControlDir.
Class Method find_bzrdirs Find control dirs recursively from current location.
Class Method find_branches Find all branches under a transport.
Class Method create_branch_and_repo Create a new ControlDir, Branch and Repository at the url 'base'.
Class Method create_branch_convenience Create a new ControlDir, Branch and Repository at the url 'base'.
Class Method create_standalone_workingtree Create a new ControlDir, WorkingTree, Branch and Repository at 'base'.
Class Method open_unsupported Open a branch which is not supported.
Class Method open Open an existing controldir, rooted at 'base' (url).
Class Method open_from_transport Open a controldir within a particular directory.
Class Method open_containing Open an existing branch which contains url.
Class Method open_containing_from_transport Open an existing branch which contains a_transport.base.
Class Method open_tree_or_branch Return the branch and working tree at a location.
Class Method open_containing_tree_or_branch Return the branch and working tree contained by a location.
Class Method open_containing_tree_branch_or_repository Return the working tree, branch and repo contained by a location.
Method _get_selected_branch Return the name of the branch selected by the user.
Method _get_tree_branch Return the branch and tree, if any, for this controldir.

Inherited from ControlComponent (via BzrDir, ControlDir):

Method control_url Undocumented
Method user_url Undocumented
def __init__(self, _transport, _format):
See BzrDir.__init__.
def break_lock(self):
Pre-splitout bzrdirs do not suffer from stale locks.
def cloning_metadir(self, require_stacking=False):
Produce a metadir suitable for cloning with.
def clone(self, url, revision_id=None, force_new_repo=False, preserve_stacking=False):
See BzrDir.clone().

force_new_repo has no effect, since this family of formats always require a new repository. preserve_stacking has no effect, since no source branch using this family of formats can be stacked, so there is no stacking to preserve.

def create_branch(self, name=None, repository=None, append_revisions_only=None):
See BzrDir.create_branch.
def destroy_branch(self, name=None):
See BzrDir.destroy_branch.
def create_repository(self, shared=False):
See BzrDir.create_repository.
def destroy_repository(self):
See BzrDir.destroy_repository.
def create_workingtree(self, revision_id=None, from_branch=None, accelerator_tree=None, hardlink=False):
See BzrDir.create_workingtree.
def _init_workingtree(self):
def destroy_workingtree(self):
See BzrDir.destroy_workingtree.
def destroy_workingtree_metadata(self):
See BzrDir.destroy_workingtree_metadata.
def get_branch_transport(self, branch_format, name=None):
See BzrDir.get_branch_transport().
def get_repository_transport(self, repository_format):
See BzrDir.get_repository_transport().
def get_workingtree_transport(self, workingtree_format):
See BzrDir.get_workingtree_transport().
def needs_format_conversion(self, format=None):
See BzrDir.needs_format_conversion().
def open_branch(self, name=None, unsupported=False, ignore_fallbacks=False):
See BzrDir.open_branch.
def sprout(self, url, revision_id=None, force_new_repo=False, possible_transports=None, accelerator_tree=None, hardlink=False, stacked=False, create_tree_if_local=True, source_branch=None):
See BzrDir.sprout().
API Documentation for Bazaar, generated by pydoctor at 2020-10-20 01:32:42.