~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/codeimport/worker.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-16 00:31:43 UTC
  • mfrom: (13168.9.5 auto-upgrade)
  • Revision ID: launchpad@pqm.canonical.com-20110616003143-1x6pv719kkvc5yjf
[r=wgrant][rollback=13219] Remove the backup directory after
 upgrading a bzr import branch, to placate cscvs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
                local_bzr_dir.root_transport.delete_tree('backup.bzr')
114
114
            except NoSuchFile:
115
115
                pass
116
 
            upgrade(target_path, required_format)
 
116
            upgrade(target_path, required_format, clean_up=True)
117
117
        if needs_tree:
118
118
            local_bzr_dir.create_workingtree()
119
119
        return local_bzr_dir.open_branch()