b.t.t.NotBzrDir(bzrlib.bzrdir.BzrDir) : class documentation

Part of bzrlib.tests.test_bzrdir View In Hierarchy

A non .bzr based control directory.
Method __init__ Initialize a Bzr control dir object.

Inherited from BzrDir:

Method break_lock Invoke break_lock on the first object in the 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.
Static Method find_bzrdirs Find bzrdirs recursively from current location.
Static Method find_branches Find all branches under a transport.
Static Method create_branch_and_repo Create a new BzrDir, Branch and Repository at the url 'base'.
Method determine_repository_policy Return an object representing a policy to use.
Static Method create_branch_convenience Create a new BzrDir, Branch and Repository at the url 'base'.
Static Method create_standalone_workingtree Create a new BzrDir, WorkingTree, Branch and Repository at 'base'.
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.
Static Method open_unsupported Open a branch which is not supported.
Static Method open Open an existing bzrdir, rooted at 'base' (url).
Static Method open_from_transport Open a bzrdir within a particular directory.
Static Method open_containing Open an existing branch which contains url.
Static 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 cloning_metadir Produce a metadir suitable for cloning or sprouting with.
Class Method create Create a new BzrDir at the url 'base'.
Method get_branch_transport Get the transport for use by branch format in this BzrDir.
Method get_repository_transport Get the transport for use by repository format in this BzrDir.
Method get_workingtree_transport Get the transport for use by workingtree format in this BzrDir.
Static Method _check_supported Give an error or warning on old formats.
Method _make_tail Undocumented
Method _find_or_create_repository Create a new repository if needed, returning the repository.
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.
def __init__(self, transport, format):
Initialize a Bzr control dir object.

Only really common logic should reside here, concrete classes should be made with varying behaviours.

Parameters_formatthe format that is creating this BzrDir instance.
_transportthe transport this dir is based at.
API Documentation for Bazaar, generated by pydoctor at 2011-03-11 00:02:10.