b.w.WorkingTreeFormat3(WorkingTreeFormat) : class documentation

Part of bzrlib.workingtree_3 View In Hierarchy

The second working tree format updated to record a format marker.

This format:
  • exists within a metadir controlling .bzr
  • includes an explicit version marker for the workingtree control files, separate from the ControlDir format
  • modifies the hash cache format
  • is new in bzr 0.8
  • uses a LockDir to guard access for writes.
Method get_format_string See WorkingTreeFormat.get_format_string().
Method get_format_description See WorkingTreeFormat.get_format_description().
Method initialize See WorkingTreeFormat.initialize().
Method open Return the WorkingTree object for a_bzrdir
Method __str__ Undocumented
Method __get_matchingbzrdir Undocumented
Method _open_control_files Undocumented
Method _initial_inventory Undocumented
Method _open Open the tree itself.

Inherited from WorkingTreeFormat:

Class Method find_format_string Return format name for the working tree object in controldir.
Class Method find_format Return the format for the working tree object in controldir.
Method __eq__ Undocumented
Method __ne__ Undocumented
Class Method get_default_format Return the current default format.
Method is_supported Is this format supported?
Method supports_content_filtering True if this format supports content filtering.
Method supports_views True if this format supports stored views.
Class Method register_format Undocumented
Class Method register_extra_format Undocumented
Class Method unregister_extra_format Undocumented
Class Method get_formats Undocumented
Class Method set_default_format Undocumented
Class Method unregister_format Undocumented
Method get_controldir_for_branch Get the control directory format for creating branches.
def get_format_string(self):
See WorkingTreeFormat.get_format_string().
def get_format_description(self):
See WorkingTreeFormat.get_format_description().
def __get_matchingbzrdir(self):
def _open_control_files(self, a_bzrdir):
def initialize(self, a_bzrdir, revision_id=None, from_branch=None, accelerator_tree=None, hardlink=False):
See WorkingTreeFormat.initialize().
Parametersrevision_idif supplied, create a working tree at a different revision than the branch is at.
accelerator_treeA tree which can be used for retrieving file contents more quickly than the revision tree, i.e. a workingtree. The revision tree will be used for cases where accelerator_tree's content is different.
hardlinkIf true, hard-link files from accelerator_tree, where possible.
def _initial_inventory(self):
def open(self, a_bzrdir, _found=False):

Return the WorkingTree object for a_bzrdir

_found is a private parameter, do not use it. It is used to indicate
if format probing has already been done.
def _open(self, a_bzrdir, control_files):
Open the tree itself.
Parametersa_bzrdirthe dir for the tree.
control_filesthe control files for the tree.
def __str__(self):
API Documentation for Bazaar, generated by pydoctor at 2022-01-28 00:33:44.