nested style: why use them and how to merge?
Hi everyone.
Following the Bazaar User Guide, I read the "10.2.2 Nested Style (project/
As I can understand that this is better for visualizing branches "interweaving", I do not see any other avantage on it.
For instance from your stanza:
project/ # The overall repository, *and* the project's mainline branch
+ joe/ # Developer Joe's primary branch of development
| +- feature1/ # Developer Joe's feature1 development branch
| | +- broken/ # A staging branch for Joe to develop feature1
| +- feature2/ # Joe's feature2 development branch
| ...
+ barry/ # Barry's development branch
| ...
This is the local view (which is also the hierarchical on the fs if we use nested tree). But after having done "init-repo --no-tree", we have the created branches and then, to make this logicial statement:
- from project/joe: bzr push ..
- from project/
- from project/
- from project/
- from project/barry: bzr push ..
- and so on.
So, this is why I do not see the difference beetween this way and the following one.
On the FS:
- Project/
+ joe/
+ feature1/
+ broken/
+ feature2/
+ barry/
And then, to have the same logical interweaving:
- from project/joe: bzr push ..
- from project/feature1: bzr push ../joe
- from project/borken: bzr push ../feature1
- from project/feature2: bzr push ../joe
- from project/barry: bzr push ..
The logical view is the same, even if the FS projection is different (and can be on different hosts).
Furthermore (stop me if I am wrong), with nested style with no-tree, We have to checkout each branches (for instance, mine in project/joe) from the initial (main) repository to work locally on our hosts. Is it correct? (and this is the only way also to be able to achieve some merge).
So, from what I understant:
- nested style is to have a physical view of a logical structure
- all branches are located on a main repository with no associated tree (so that we can view the full structure, otherwise, this approach lost is advantage to be able to view physically each branch). And we checkout locally the branches we want to work on.
Am I correct (sorry for this long question)?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- John A Meinel
- Solved:
- Last query:
- Last reply: