Part of bzrlib.plugins.weave_fmt.bzrdir View In Hierarchy
Bzr dir format 4. This format is a combined format for working tree, branch and repository. It has: - Format 1 working trees [always] - Format 4 branches [always] - Format 4 repositories [always] This format is deprecated: it indexes texts using a text it which is removed in format 5; write support for this format has been removed.
Method | __eq__ | Undocumented |
Method | get_format_string | See BzrDirFormat.get_format_string(). |
Method | get_format_description | See BzrDirFormat.get_format_description(). |
Method | get_converter | See BzrDirFormat.get_converter(). |
Method | initialize_on_transport | Format 4 branches cannot be created. |
Method | is_supported | Format 4 is not supported. |
Method | network_name | A simple byte string uniquely identifying this format for RPC calls. |
Method | _open | See BzrDirFormat._open. |
Method | __return_repository_format | Circular import protection. |
Inherited from BzrDirFormat:
Method | initialize_on_transport_ex | Create this format on transport. |
Method | open | Return an instance of this format for the dir transport points at. |
Method | supports_transport | Check if this format can be opened over a particular transport. |
Method | _initialize_on_transport_vfs | Initialize a new bzrdir using VFS calls. |
Method | _supply_sub_formats_to | Give other_format the same values for sub formats as this has. |
Inherited from ControlDirFormat (via BzrDirFormat):
Method | is_initializable | Whether new control directories of this format can be initialized. |
Method | check_support_status | Give an error or warning on old formats. |
Method | same_model | Undocumented |
Class Method | register_format | Register a format that does not use '.bzr' for its control dir. |
Class Method | register_prober | Register a prober that can look for a control dir. |
Class Method | unregister_prober | Unregister a prober. |
Class Method | register_server_prober | Register a control format prober for client-server environments. |
Method | __str__ | Undocumented |
Class Method | known_formats | Return all the known formats. |
Class Method | find_format | Return the format present at transport. |
Method | initialize | Create a control dir at this url and return an opened copy. |
Class Method | get_default_format | Return the current default format. |
Class Method | _set_default_format | Set default format (for testing behavior of defaults only) |
It is not supported because the model changed from 4 to 5 and the conversion logic is expensive - so doing it on the fly was not feasible.
Bzr control formats use this disk format string to identify the format over the wire. Its possible that other control formats have more complex detection requirements, so we permit them to use any unique and immutable string they desire.