switch doesn't find sibling branches when colocated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar |
Medium
|
Unassigned | ||
| Breezy |
Medium
|
Jelmer Vernooij |
Bug Description
abentley@
Created a standalone tree (format: 2a)
abentley@
Tree is up to date at revision 0.
Switched to branch: /home/abentley/
abentley@
Tree is up to date at revision 0.
Switched to branch: /home/abentley/
abentley@
abentley@
abentley@
bzr: ERROR: Not a branch: "/home/
Aaron Bentley (abentley) wrote : | #2 |
AFAICT, switch is looking at siblings of either the current working tree or of the branch reference. Instead, I think it should look at siblings of the referenced branch.
In my example, "checkout" is a checkout of "two", which has "one" as a sibling. But I can't switch to "one" by running "bzr switch one".
Changed in bzr: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
milestone: | none → 3.0.0 |
tags: | added: location-ui |
Changed in brz: | |
milestone: | 3.0.0 → 3.1.0 |
Like 'bzr branches', bzr switch looks at sibling branches of the current branch, not of the current working tree.
I think this is reasonable. Is there a particular reason why you would want to switch from a lightweight checkout of something else into a branch that is colocated there?