while deleting top-level colo branch also deleted branches in subdirs

Bug #771815 reported by Alexander Belchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-colo
Fix Released
High
Unassigned

Bug Description

C:\Temp\1>bzr colo-branches
  review
  review/bugfix
* trunk

C:\Temp\1>bzr colo-delete review

C:\Temp\1>bzr colo-branches
* trunk

I understand why it happens, but I'm not sure this is the right behavior. Although to fix this colo should check whether there are branches in subdirs and if they are then keep subdir but delete .bzr directory for specified branch. That could be tricky.

Changed in bzr-colo:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

I've fixed this right now in the simplest way by refusing to delete branches that have other branches as subdirectories. I thought this was important, because this is a potential data-loss bug. I've filed 772891 to keep track of the feature request to be able to delete those branches.

Changed in bzr-colo:
status: Confirmed → Fix Released
Revision history for this message
Alexander Belchenko (bialix) wrote :
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.