The Subversion Once Over [duplicate]
Possible Duplicate:
What do “branch”, “tag” and “trunk” really mean?
I am brand new to subversion, so please bear with me. I know that the standard directory structure for a repository are as follows:
/branches/
/tags/
/trunk/
I'm not sure what each of these directories are for. Could someone:
- describe the purpose of each directory
- provide a sample directory structure for project management in a single-user environment
- provide a sample directory structure for project management in a multi-user environment
- provide sample directory structure(s) for a pa开发者_如何转开发rent project which will contain multiple add-ons, each being their own smaller project
Sorry for the crash list of questions. I will award extra points for good answers.
Thank you for your time!
you can look here : What do "branch", "tag" and "trunk" mean in Subversion repositories?
One additional detail is that all the folders are just same, it is just a convention to have this structure and they do not have special meaning per se. The structure should be the same in single-user or multi-user environment and it is the one in the question generally.
In multi-user environment, sometimes we have /privatebranches
meaning that it is some sort of spike and is not for general use. Also these may be non standard as in branch of a particular folder within trunk etc.
For multiple add-ons type project:
repo
project1
trunk
branches
tags
addon1
trunk
branches
tags
addon2
trunk
branches
tags
Also in that case you can look at using svn externals to manages the projects. So they will still have the above structure, but you can make it seem like the add-ons are contained within Project1
精彩评论