Please explain "branches"
Our office uses shared repos on a central file server. This is working very well in our environment. (Although, as an aside, we do get frequent lock file problems and we have to use break-lock more times than we think is necessary).
Our normal wokring process is to do an initial checkout to a working copy on our computers, then do updates and commits as necessary. I have not tried doing lightweight checkouts, but I will try it on a future project.
Now we have a project where we want to create a separate branch to do some what-if scenarios. I now have a bunch of questions:
1. In the Bazaar documentation, the term "branch" seems to be used for everything, and as such, I don't really understand what a branch in Bazaar is. It seems to be used interchangeably with "working copy" and "repository." What is a Bazaar branch? Do I already have a branch, even though I haven't yet "branched" the codebase?
2. What is the procedure for splitting off a branch of the codebase? Do I have to create a new repository for the new branch? I'm confused.
3. Can I switch between the two branches, and if so, how? Do I have to maintain two working copies?
I am using TortoiseBZR, while a colleague is using Bazaar Explorer.
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: