Stacking public branches on private ones raises errors

Bug #613841 reported by Māris Fogels
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

Stacking a public branch on top of a private branch raises errors if you attempt to check out a copy of the public branch.

The steps I took to produce this:

 1. Create a local branch
 2. Push a private copy of the branch: bzr push lp:~me/theproject/devel
 3. Make lp:~me/theproject/devel the development focus of the project
 4. Push a public copy of the branch by pushing it to a public team. This should stack the team's branch on top of the private one. bzr push lp:~team/theproject/devel
 5. Make the public team's branch the default branch for the project
 6. Try to get a copy of the project default branch: bzr branch lp:theproject
 7. bzr reports the error "bzr: ERROR: Invalid url supplied to transport: "lp:theproject": theproject has no default branch."

I assume that "bzr branch lp:~team/theproject/devel" would also raise an error, but I have no way to test it.

Aaron Bentley (abentley)
description: updated
Revision history for this message
Aaron Bentley (abentley) wrote :

What's confusing about this is the web page suggests lp:theproject as the URL, but the codehosting ssh server says that URL is invalid because it has "no default branch".

Aaron Bentley (abentley)
Changed in launchpad-code:
importance: Undecided → Medium
status: New → Triaged
Tim Penhey (thumper)
tags: added: branch-stacking privacy
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers