Part of lp.codehosting.codeimport.worker View In Hierarchy
As well as invoking cscvs to do the import, this class also needs to manage a foreign working tree.
Method | foreign_tree_store | Undocumented |
Method | getForeignTree | Return the foreign branch object that we are importing from. |
Method | importToBazaar | Actually import foreign_tree into bazaar_branch . |
Method | _runToBaz | Actually run the CSCVS utility that imports revisions. |
Method | _doImport | Perform the import. |
Inherited from ToBzrImportWorker:
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 (via ToBzrImportWorker):
Method | getWorkingDirectory | The directory we should change to and store all scratch files in. |
Method | run | Run the code import job. |
Returns | A CVSWorkingTree . |
foreign_tree
into bazaar_branch
.Parameters | foreign_tree | A CVSWorkingTree . |
bazaar_tree | A bzrlib.branch.Branch , which must have a
colocated working tree. |
Parameters | source_dir | The directory containing the foreign working tree that we are importing from. |
flags | Flags to pass to totla.totla . | |
revisions | The revisions to import. | |
bazpath | The directory containing the Bazaar working tree that we are importing into. |