RE: SVN branching strategy & tortoiseSVN
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Mon, 12 Apr 2010 10:13:14 -0400
> We have a project team of roughly 10 people and we adopted this strategy:
That is really complicated and seems like a lot of work.
> the repo structure looks something like this:
That's fine.
> when merging back to trunk or merging trunk changes to our sub branch,
The answer is, it depends. Reintegrate is only going to work properly if you have merged in upstream changes. It is also designed to merge from a branch back to its source (where it was copied from).
It sounds like some of your merges might be cyclic which svn has a hard time with.
> Now some developers are requesting for inter branch merging, say in the
This is certainly possible.
> changes from John's sub branch "Copied20100315", does Daniel use
Once again, to use re-integrate or not depends on if you are keeping the branch up to date by merging from the upstream source.
> Could someone pls advice me whether the above usage scenario is correct
First, the best advice I can give you is to read the Merging/Branching chapter in the svn book. http://svnbook.red-bean.com/nightly/en/svn.branchmerge.html espessially the Advanced Merging section.
To tell you the truth, something like Git or Mercurial is better suited to what you are doing. Since each dev has his own repository and he can pull/push changes to/from any other repository. However, assmuing you are not able or willing to change version control systems.
I would say rather than giving each dev a branch you branch for feature. This could be worked on by one or more devs at a time. this would most likely save the need for one dev to need something from another devs branch.
I would also use trunk as the workspace for the project manager. The devs could inform him that a feature is ready for him. Here I think you have two choices. The project manger can view/test the feature on the feature branch and once he is satisfied he can --reintegrate that branch to trunk and delete the branch. Or, he chould re-integrate into trunk and test there. Then, if all was ok he could merge that to a stable branch which is what QA tests.
BOb
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.