Part of bzrlib.remote View In Hierarchy
Instances of this repository are represented by RemoteRepository instances.
The RemoteRepositoryFormat is parameterized during construction to reflect the capabilities of the real, remote format. Specifically the attributes rich_root_data and supports_tree_reference are set on a per instance basis, and are not set (and should not be) at the class level.
Instance Variables | _custom_format | If set, a specific concrete repository format that will be used when initializing a repository with this RemoteRepositoryFormat. |
_creating_repo | If set, the repository object that this RemoteRepositoryFormat was created for: it can be called into to obtain data like the network name. |
Method | __init__ | Undocumented |
Method | __repr__ | Undocumented |
Method | fast_deltas | Undocumented |
Method | rich_root_data | Undocumented |
Method | supports_chks | Undocumented |
Method | supports_external_lookups | Undocumented |
Method | supports_funky_characters | Undocumented |
Method | supports_nesting_repositories | Undocumented |
Method | supports_tree_reference | Undocumented |
Method | revision_graph_can_have_wrong_parents | Undocumented |
Method | initialize | Initialize a repository of this format in controldir. |
Method | open | Return an instance of this format for a controldir. |
Method | get_format_description | Return the short description for this format. |
Method | __eq__ | Undocumented |
Method | network_name | A simple byte string uniquely identifying this format for RPC calls. |
Method | pack_compresses | Undocumented |
Method | _vfs_initialize | Helper for common code in initialize. |
Method | _ensure_real | Undocumented |
Method | _fetch_order | Undocumented |
Method | _fetch_uses_deltas | Undocumented |
Method | _fetch_reconcile | Undocumented |
Method | _serializer | Undocumented |
Inherited from RepositoryFormat (via VersionedFileRepositoryFormat):
Method | __ne__ | Undocumented |
Class Method | find_format | Return the format for the repository object in a_bzrdir. |
Class Method | register_format | Undocumented |
Class Method | unregister_format | 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 | is_deprecated | Is this format deprecated? |
Method | check_conversion_target | Undocumented |
Method | _run_post_repo_init_hooks | Undocumented |
This may raise UninitializableFormat if shared repository are not compatible the controldir.
Parameters | controldir | The controldir to put the new repository in it. |
shared | The repository should be initialized as a sharable one. | |
Returns | The new repository object. |
_found is a private parameter, do not use it.
MetaDir repository formats use their disk format string to identify the repository over the wire. All in one formats such as bzr < 0.8, and foreign formats like svn/git and hg should use some marker which is unique and immutable.