l.c.c.w.BazaarBranchStore : class documentation

Part of lp.codehosting.codeimport.worker View In Hierarchy

A place where Bazaar branches of code imports are kept.
Method __init__ Construct a Bazaar branch store based at transport.
Method pull Pull down the Bazaar branch of an import to target_path.
Method push Push up bzr_branch as the Bazaar branch for code_import.
Method _getMirrorURL Return the URL that db_branch is stored at.
def __init__(self, transport):
Construct a Bazaar branch store based at transport.
def _getMirrorURL(self, db_branch_id, push=False):
Return the URL that db_branch is stored at.
def pull(self, db_branch_id, target_path, required_format, needs_tree=False, stacked_on_url=None):
Pull down the Bazaar branch of an import to target_path.
ReturnsA Bazaar branch for the code import corresponding to the database branch with id db_branch_id.
def push(self, db_branch_id, bzr_branch, required_format, stacked_on_url=None):
Push up bzr_branch as the Bazaar branch for code_import.
ReturnsA boolean that is true if the push was non-trivial (i.e. actually transferred revisions).
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.