Part of lp.codehosting.codeimport.worker View In Hierarchy
The only behaviour we add is preserving the 'git.db' shamap between runs.
|Method||invalid_branch_exceptions||Exceptions that indicate no (valid) remote branch is present.|
|Method||unsupported_feature_exceptions||The exceptions to consider for unsupported features.|
|Method||broken_remote_exceptions||The exceptions to consider for broken remote branches.|
Inherited from PullingImportWorker:
|Method||_doImport||Perform the import.|
|Method||getWorkingDirectory||The directory we should change to and store all scratch files in.|
|Method||run||Run the code import job.|
In addition to the superclass' behaviour, we retrieve bzr-git's caches, both legacy and modern, from the import data store and put them where bzr-git will find them in the Bazaar tree, that is at '.bzr/repository/git.db' and '.bzr/repository/git'.
In addition to the superclass' behaviour, we store bzr-git's cache directory at .bzr/repository/git in the import data store.