Part of bzrlib.foreign View In Hierarchy
Known subclasses: bzrlib.tests.test_foreign.DummyForeignVcsMappingRegistry
There should be one instance of this registry for every foreign VCS.
Method | register | Register a mapping between Bazaar and foreign VCS semantics. |
Method | set_default | Set the 'default' key to be a clone of the supplied key. |
Method | get_default | Convenience function for obtaining the default mapping to use. |
Method | revision_id_bzr_to_foreign | Convert a bzr revision id to a foreign revid. |
The factory must be a callable that takes one parameter: the key. It must produce an instance of VcsMapping when called.
This method must be called once and only once.