Branching not (directly) possible from a colocated repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-colo |
Confirmed
|
High
|
Unassigned |
Bug Description
When I attempt to branch a branch stored within a shared repository, I receive an error message that it is not a branch:
anise:desktop mbt$ bzr colo-fetch colo:bzr+
Password:
bzr: ERROR: Not a branch: "/home/
But of course, that is a branch:
mbt@aloe ~/Projects/
Repository branch (format: 2a)
Location:
shared repository: /home/mbt/
repository branch: .
Related branches:
parent branch: /home/mbt/
Note that this is not the branch that I found this bug with, but it appears to be easily replicated for all branches.
I have received this error when attempting to use bzr 2.2.4 and bzr 2.3.0 with bzr-colo 0.2.1 and bzr-colo 0.3.0dev revision ID <email address hidden>, on multiple operating systems.
summary: |
- Branching not possible from a colocated repository + Branching not (directly) possible from a colocated repository |
It looks as if the colocated branch at aloe:/home/ mbt/Projects/ desktop/ alltray may have lost touch with the branches that are stored in .bzr/branches. This can happen if colocated workspaces are moved in the filesystem, because bzr stores branche references as absolute paths. What is the output of "bzr info" and "bzr st" in /home/mbt/ Projects/ desktop/ alltray? What is the output of "bzr colo-branches" in that same directory?
If this is in fact what happened, do "bzr colo-fixup" in /home/mbt/ Projects/ desktop/ alltray.