Kashiro 2 Posted August 7, 2013 What is the Difference with those many branches with the trunk?? can you tell me? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 7, 2013 Trunk is the main branch where all fixes and new code goes. The other branches are mainly developmental and it's where our developers test their code so in case there's some unstable code it will be fixed right there on the branch before getting committed to trunk. In practice, the branches are rarely used but the code that's committed to trunk is mostly right most if the time. Quote Share this post Link to post Share on other sites
0 Kashiro 2 Posted August 8, 2013 correct me if im wrong so before applying to the main branch ( trunk ) it will have the branches first? such as fixes etc another question so why need so many branch why is not just 1 branch? before applying to main trunk? is there any difference with implementing script codes etc in branches than the trunk? thanks for the answers i just want to enlighten Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted August 8, 2013 Most developers in Hercules just commit to trunk directly without testing the code on a developmental branch, but they try and test the code themselves to avoid major bugs. As for the branches, when a big feature is planned to be added or for some other reasons, one or more developers may decide to branch trunk and work on it on that branch. That way, it's like they have a own repository that can be worked on as if it was the main one. Branches can be of multiple nature (changing script engine to LUA, password encryption improvements, etc) and that's why there isn't only one branch. Think of the development of Hercules like a tree in reverse: some code is directly in the trunk and the branches start somewhere out of it and end up contributing to that trunk. Quote Share this post Link to post Share on other sites
What is the Difference with those many branches with the trunk??
can you tell me?
Share this post
Link to post
Share on other sites