Some questions about branches

imported_sri1025
imported_sri1025
I have the following questions about branches:  
     
  • Will each developer create his own branch and work there till he can commit to trunk?  
  • Should branches be deleted after we commit it to the trunk?  
 Thanks!

Last updated

ScottDF
ScottDF
Re: Some questions about branches    Answering from our current practice:  
sri1025  Will each developer create his own branch and work there till he can commit to trunk?[/quote]  Yes, or no depending upon what is being worked on.    [quote=sri1025]Should branches be deleted after we commit it to the trunk?  
Yes or no depending upon why the branch was made.    In other words, it depends on your needs.
andyl
andyl
Re: Some questions about branches    
sri1025Will each developer create his own branch and work there till he can commit to trunk?[/quote]That's depends upon your development process. If you're going to have a developer working on a branch for a long time, or doing something that will significantly impact trunk, then it's a good idea. But it's not required by Subversion itself.  [quote=sri1025]Should branches be deleted after we commit it to the trunk?
Like ScottDF said, it's up to you. Some people like to have a private branch for each developer, where they work exclusively. So those branches would live forever, and need periodic merges from elsewhere to stay in sync. The usefulness of branches made for experimentation, long-running changes, etc. will usually come to an end, and will usually be deleted after that point. But they aren't truly removed from the repository forever, they just disappear from HEAD.

1-3 of 3

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.