b.p.w.w.WorkingTreeFormat2(WorkingTreeFormat) : class documentation

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

The second working tree format.

This format modified the hash cache from the format 1 hash cache.

Method get_format_description See WorkingTreeFormat.get_format_description().
Method initialize See WorkingTreeFormat.initialize().
Method __init__ Undocumented
Method open Return the WorkingTree object for a_bzrdir
Method _stub_initialize_on_transport Workaround: create control files for a remote working tree.

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 get_format_string Return the ASCII format string that identifies this 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_description(self):
See WorkingTreeFormat.get_format_description().
def _stub_initialize_on_transport(self, transport, file_mode):
Workaround: create control files for a remote working tree.

This ensures that it can later be updated and dealt with locally, since BzrDirFormat6 and BzrDirFormat5 cannot represent dirs with no working tree. (See bug #43064).

def initialize(self, a_bzrdir, revision_id=None, from_branch=None, accelerator_tree=None, hardlink=False):
See WorkingTreeFormat.initialize().
def __init__(self):
Undocumented
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.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.