No way to clean up broken branches

Bug #1181949 reported by Alexander Taler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Triaged
Medium
Alexander Taler

Bug Description

If bzr-eclipse fails half way through branching, it can leave folders on the disk, which prevent the user from trying the operation again.

Similarly, if I have checked out a Bazaar branch which contains multiple projects (e.g. bzr-eclipse) then I can delete all of the projects in the Project Explorer, but I can't delete the entire branch.

Perhaps the Project Creation Wizard should offer a flag to remove conflicting directories or projects.

Changed in bzr-eclipse:
milestone: none → 1.3
Changed in bzr-eclipse:
milestone: 1.3 → 1.2
status: New → Confirmed
Changed in bzr-eclipse:
assignee: nobody → Alexander Taler (alex-idereal)
Revision history for this message
Piotr Piastucki (piastucki) wrote :

Regarding deleting multiple projects in a single branch, I think we can handle that in BazaarMoveDeleteHook and remove the branch when there is no project left inside. See unimplemented deleteProject method

Changed in bzr-eclipse:
status: Confirmed → Triaged
Revision history for this message
Piotr Piastucki (piastucki) wrote :

I have created https://bugs.launchpad.net/bugs/1186398 for the changes in BazaarMoveDeleteHook and I will take care of them. It would be great if you could improve new project wizard to handle broken checkouts/existing folders as describe in this report and in https://bugs.launchpad.net/bugs/1181969.

Revision history for this message
Alexander Taler (alex-idereal) wrote :

I have pushed a fix to trunk which means the project wizard will clean up if there's a failure during checkout or branch.

I think we should leave any new options on the wizard to 1.3, so I'm pushing the milestone on this bug.

Changed in bzr-eclipse:
milestone: 1.2 → 1.3
Changed in bzr-eclipse:
milestone: 1.3.1 → 1.4
Changed in bzr-eclipse:
milestone: 1.4 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.