Part of lp.codehosting.codeimport.worker View In Hierarchy
Known subclasses: lp.codehosting.codeimport.worker.CSCVSImportWorker, lp.codehosting.codeimport.worker.PullingImportWorker
Method | __init__ | Construct a ToBzrImportWorker . |
Method | getBazaarBranch | Return the Bazaar Branch that we are importing into. |
Method | pushBazaarBranch | Push the updated Bazaar branch to the server. |
Inherited from ImportWorker:
Method | getWorkingDirectory | The directory we should change to and store all scratch files in. |
Method | run | Run the code import job. |
Method | _doImport | Perform the import. |
ToBzrImportWorker
.Parameters | source_details | A CodeImportSourceDetails object. |
bazaar_branch_store | A BazaarBranchStore . The import worker
uses this to fetch and store the Bazaar branches that are created
and updated during the import process. | |
logger | A Logger to pass to cscvs. | |
opener_policy | Policy object that decides what branches can be imported |
Branch
that we are importing into.Returns | True if revisions were transferred. |