How to delete backup file after upgrade of branch on Launchpad

Asked by Russel Winder

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
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?”.

Revision history for this message
Russel Winder (russel) said :
#3

Thanks Aaron Bentley, that solved my question.