code browsing broken for bzr branch
The bzr branch at https:/
No such file: u'/srv/
Finally, attempt to bzr branch from it fails:
$ bzr branch lp:~kees/+junk/cpu-checker
bzr: ERROR: No such file: '/srv/bazaar.
I am able to branch other bzr branches off of launchpad just fine.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- Tim Penhey Edit question
- Solved by:
- Steve Beattie
- Solved:
- 2010-06-23
- Last query:
- 2010-06-23
- Last reply:
- 2010-06-23
The branch has become broken somehow. Probably the easiest thing is to get the owner to delete and re-push it.
| Keith Hughitt (keith-hughitt) said : | #2 |
Hello,
I've run into a similar problem with the trunk for a project I'm working on. Attempting to delete the branch in order to then restore it does not work, however, as Launchpad complains:
"This branch cannot be deleted as it has 5 branches sharing revisions. "
Any idea what the cause of this problem is, or how it can be resolved?
| Keith Hughitt (keith-hughitt) said : | #3 |
Update: I've decided to open a separate answer thread at https:/
| Steve Beattie (sbeattie) said : | #4 |
In the specific case I reported above, kees ended up deleting that branch and pushed it to a new project + branch at https:/
| Steve Beattie (sbeattie) said : | #5 |
(Well, it would be nice to know what caused the breakage in the first place, to verify that it doesn't happen again, but I don't think it's reproducible.)
| Tim Penhey (thumper) said : | #6 |
Keith, the problem exists due to the way Launchpad shares revisions.
Once a branch has been chosen as a trunk branch, other branches that are pushed to that project will share the revisions with the trunk branch. This does have the side-effect of not allowing the trunk branch to be deleted or the other branches will no longer have the revisions they need.
The simplest solution for this if changing the trunk branch, is to mark the old one as abandoned. This will make it not appear in the default listings, but will keep it around.
