b.f.ForeignVcsRegistry(registry.Registry) : class documentation

Part of bzrlib.foreign View In Hierarchy

Registry for Foreign VCSes.

There should be one entry per foreign VCS. Example entries would be "git", "svn", "hg", "darcs", etc.

Method register Register a foreign VCS.
Method parse_revision_id Parse a bzr revision and return the matching mapping and foreign
def register(self, key, foreign_vcs, help):
Register a foreign VCS.
ParameterskeyPrefix of the foreign VCS in revision ids
foreign_vcsForeignVCS instance
helpDescription of the foreign VCS
def parse_revision_id(self, revid):
Parse a bzr revision and return the matching mapping and foreign revid.
ParametersrevidThe bzr revision id
Returnstuple with foreign revid and vcs mapping
API Documentation for Bazaar, generated by pydoctor at 2019-11-21 00:29:25.