cannot squash incomplete branch on supermirror sftp
Bug #53340 reported by
David Allouche
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
High
|
Unassigned | ||
Launchpad itself |
Invalid
|
High
|
Jonathan Lange |
Bug Description
In some situations (bzr bugs, sftp server bugs, manual fiddling, connection failure) the sftp server can end up with a branch directory (~user/
bzr cannot push on this location because it's not a proper branch, and it cannot be deleted because of bug 34540.
Currently, recovering from this situation requires manual surgery using a sftp client. There should be a way to tell bzr "push on this sftp location and delete any pre-existing contents of the directory". This would also be useful in access control scenarios. The deletion of existing files can be racy (ls then rm), and the target location may not be deletable.
Changed in launchpad-bazaar: | |
importance: | Untriaged → Medium |
status: | Unconfirmed → Confirmed |
description: | updated |
description: | updated |
Changed in bzr: | |
importance: | Medium → High |
Changed in launchpad-bazaar: | |
importance: | Medium → High |
To post a comment you must log in.
Some sort of --force or --overwrite to recursively delete a tree would be reasonable. (There already is a transport function 'delete_tree' which would do the work).