How to delete backup file after upgrade of branch on Launchpad

Asked by Russel Winder on 2009-09-01

I have just upgraded a branch on Launchpad to the 2a format. I assume this generates a backup directory. How do I delete this backup directory after a successful upgrade? (*)

A subsidiary question is, oif course, how to undo the upgrade attempt in the case of failure?

Thanks.

(*) This matters as there will undoubtedly need to be upgrades in the future and you can't upgrade a branch with an upgrade backup.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
Aaron Bentley Edit question
Solved by:
Aaron Bentley
Solved:
2009-11-14
Last query:
2009-11-14
Last reply:
2009-09-01
Best Aaron Bentley (abentley) said : #1

Launchpad's code hosting is provided over SFTP (as well as other protocols), so you can use an sftp client (such as sftp or lftp) to manipulate branch files directly. You can also use lp:hitchhiker, which supports all protocols supported by Bazaar itself.

Diogo Matsubara (matsubara) said : #2

Diogo Matsubara suggests this article as an answer to your question:
FAQ #675: “How to delete backup file after upgrade of branch on Launchpad?”.

Russel Winder (russel) said : #3

Thanks Aaron Bentley, that solved my question.