adding a sub-branch to an existing branch
Hi All,
My problem is as follows:
We have a big project consisting of different parts. The main part is a website, but we also have some Visual Basic code, some translation files that change sometimes and some reports.
All of these things are in separate folders in the main (versioned) folder. Now I want to try to be able to push only the "wwwroot" folder separately to our staging webservers. If I install bazaar on them I could use bzr push to update their code.
In our current situation this would not only push the wwwroot folder, but all the other versioned folders aswell. To solve this I have used bzr init to make the wwwroot folder a separate branch nested inside the main branch. It now has it's own .bzr folder, and I also added a .bzrignore file.
The problem is I can't add the .bzr folders to the main branch one level up. When I try to, bzr says:
"bzr: ERROR: Cannot operate on ".bzr" because it is a control file"
If I can't add them, the other developers won't see this new, separate branch. We work with a central repository and a local checkout for each developer. We all commit to the central server.
So the main question is, how can I add a new branch under the existing one and have the other developers updated aswell?
Thanks for any help you can give me on this,
Erik
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Pool
- Solved:
- Last query:
- Last reply: