b.t.t.DummyForeignVcsMapping(foreign.VcsMapping) : class documentation

Part of bzrlib.tests.test_foreign View In Hierarchy

A simple mapping for the dummy Foreign VCS, for use with testing.
Method __eq__ Undocumented
Method revision_id_bzr_to_foreign Parse a bzr revision id and convert it to a foreign revid.
Method revision_id_foreign_to_bzr Parse a foreign revision id and convert it to a bzr revid.

Inherited from VcsMapping:

Method __init__ Create a new VcsMapping.
def __eq__(self, other):
Undocumented
def revision_id_bzr_to_foreign(self, bzr_revid):
Parse a bzr revision id and convert it to a foreign revid.
Parametersbzr_revidThe bzr revision id (a string).
ReturnsA foreign revision id, can be any sort of object.
def revision_id_foreign_to_bzr(self, foreign_revid):
Parse a foreign revision id and convert it to a bzr revid.
Parametersforeign_revidForeign revision id, can be any sort of object.
ReturnsA bzr revision id.
API Documentation for Bazaar, generated by pydoctor at 2019-12-13 00:41:47.