bzr reconfigure --stacked-on tends to set stacked-on urls that launchapd doesn't interpret
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
If you attempt to stack a branch on launchpad, say ~user/project/
If you do it like this:
bzr reconfigure lp:~user/project/branch --stacked-on lp:~user/project/trunk
you end up with "stacked_
If instead you do:
bzr reconfigure lp:~user/project/branch --stacked-on bzr+ssh:
bzr relativizes and you end up with "stacked_
I think the first outcome is at least a little odd, and maybe a bzr bug but Launchpad doesn't know how to interpret either of these. It probably wouldn't be very hard to teach it.
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: branch-stacking |
Changed in launchpad: | |
importance: | Medium → Low |
summary: |
- reconfigure --stacked-on tends to set stacked-on urls that launchapd + bzr reconfigure --stacked-on tends to set stacked-on urls that launchapd doesn't interpret |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: reconfigure |
tags: | added: check-for-breezy |
Contributing my annoyance at this issue of the launchpad bazaar plugin: when using lots of local branches, it's frequent that the parent of the branch B is a local branch A rather than a remote repository, and bazaar does not (as far as I know) provide a way to refer to some arbitrary ancestor. Neither does the stacking branch detection go more than one level up (it should traverse all local repositories until it finds a remote parent or push branch, not stop at the first parent).
As a result, when using lots of local branches one *has* to explicitly provide a stacking URL, and this becomes a strong annoyance with lots of short-lived branches, because one then has to hunt his disk for the right ssh url to the branch, due to lp: urls not being correctly expanded.