while deleting top-level colo branch also deleted branches in subdirs
Bug #771815 reported by
Alexander Belchenko
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 |
To post a comment you must log in.
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.