b.t.t.SampleTreeFormat(workingtree.WorkingTreeFormat) : class documentation

Part of bzrlib.tests.test_workingtree View In Hierarchy

A sample format

this format is initializable, unsupported to aid in testing the open and open_downlevel routines.

Method get_format_string See WorkingTreeFormat.get_format_string().
Method initialize Sample branches cannot be created.
Method is_supported Is this format supported?
Method open Undocumented

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_description Return the short description for this format.
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 initialize(self, a_bzrdir, revision_id=None, from_branch=None, accelerator_tree=None, hardlink=False):
Sample branches cannot be created.
def is_supported(self):
Is this format supported?

Supported formats can be initialized and opened. Unsupported formats may not support initialization or committing or some other features depending on the reason for not being supported.

def open(self, transport, _found=False):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2020-07-02 03:56:49.