开发者

The Subversion Once Over [duplicate]

This question already has answers here: Closed 11 years ago.

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:

  1. describe the purpose of each directory
  2. provide a sample directory structure for project management in a single-user environment
  3. provide a sample directory structure for project management in a multi-user environment
  4. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜