How to safely move/rename a branch in a shared repository ?
I'd like to reorganize branches in my shared repository but simply using mv on branches folders is not enough. For example:
$ bzr init-repo --no-trees repo
Shared repository (format: pack-0.92)
Location:
shared repository: repo
$ bzr init repo/branch1
Repository branch (format: pack-0.92)
Location:
shared repository: repo
repository branch: repo/branch1
$ bzr branch repo/branch1 repo/branch2
Branched 0 revision(s).
$ bzr info repo/branch1
Repository branch (format: pack-0.92)
Location:
shared repository: repo
repository branch: repo/branch1
$ bzr info repo/branch2
Repository branch (format: pack-0.92)
Location:
shared repository: repo
repository branch: repo/branch2
Related branches:
parent branch: repo/branch1
$ mv repo/branch1 repo/branch1_old
$ bzr info repo/branch2
Repository branch (format: pack-0.92)
Location:
shared repository: repo
repository branch: repo/branch2
Related branches:
parent branch: repo/branch1
$ bzr info repo/branch1
Shared repository (format: pack-0.92)
Location:
shared repository: repo
Moving branch1 into branch1_old seems to break the relation between branch1 and branch2. Adapting parent_location in repo/branch2/
Am I using the wrong method ? Is there a command to do that ?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alexandre Garnier for more information if necessary.