0

I am trying to migrate my project to SVN. in my previous projects we used to have Trunk as the dev area where the developer used to check out and commit to (unless there is a branch for a special release). Then we used to have a branch for Test area.

Looking at SVN now i dont see the need for a test branch, we can make a build upon the Dev trunk and most examples i am getting dont even mention a Test branch specifically.

In my previous companies and projects, the test branches were there because we had different configurations for test servers so the config.xml files were different for each environment so we ahd different branches for each environemnt.

Can any one help me how to tackle this issue. do we need to have a Test branch just cos of different config files or hwo do people Test?

4

1 回答 1

2

Branches are useful if two versions of the code base are evolving independently, for example if you want to do bug fixing of the released version but at the same time also continue with development.

If you just have a test version, a tag would be sufficient most of the time. (Technically tags and branches are the same in subversion, but there is a semantic difference).

于 2012-12-23T07:19:44.943 回答