11/08/2008

Developing Product based on the SVN

Repository Layout

We create a trunk directory to hold the “main line” of development, a branches directory to contain branch copies, and a tags directory to contain tag copies.These top-level directories is :


/trunk
/branches
/tags




1. trunk
The porpose of trunk is for branching, tagging, and merging the source code.

2. branches

Branch , a line of development that exists independently of another line, it always begins life as a copy of trunk's at sometime, and moves on from there, generating its own history.


Type A: maintainable branches for released version
Type B: feature-developing branches for new requirement

3. tags
A tag is just a “snapshot” of a project in time.The aim of tags to save the stable release version of product, there is an new maintainable branch should be build at the same time, just for the patch and issue solution

No comments: