Tips & TricksPC SOFT
News, informations, examples, tips & tricks about WINDEV, WEBDEV and WINDEV MOBILE
SCM – Source Code Manager – Branch Management
Posted by:
LST Team
04:00 PM Sunday
Nov. 08, 2009
A branch is used to make changes to several versions of a project in parallel.

For example, when you deploy a version at a customer site, to preserve the source of the deployed version in case you need to perform corrections, you may want to create a branch. In parallel, on the common branch, developers can keep working on the next release.
Branch management also allows you to manage different versions for each customer.

Indeed, the benefit of using branches with SCM, is that the developer can apply modifications from one branch to another.

Creating  a branch afterwards
Branches are created using the "Create a branch" option of the "SCM" menu.
But if the branch was "forgotten", no big deal: it is never too late to create branch since you can do it later using the history.
In this case, you must:
• Open the project's history using the "SCM .. Project management .. Project history" menu.  the project's history shows you all the project versions that have been checked in.
• Select the version you want to use for creating the branch
• Validate by clicking "Create branch".
• Name the branch "Customer version" for instance.
• Specify the directory for this branch on the development machine.
• Specify the directory for this branch in the source database.

This new branch can now evolve in parallel with the "common trunc" ! This means that if changes are required on the customer version, the developer can implement these in the branch with total piece of mind.

Applying changes
During the project life cycle, you will need to retrieve changes and fixes developed in the common trunk. This operation is performed in the "Branches .. Retrieve modifications from a branch" menu.

You can retrieve all the modifications performed on an element or only some of it.
Comment this post
Comments
Add a comment
Name:
Email address:
Comments:

Code:
Remember me
Your IP address (not published): 38.107.191.119
The Blogs
Tips & Tricks
Technology and Market
Recent posts
SCM – Source Code Manager – Branch Management
04:00 PM | 08 Nov. 2009
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
Tunning & Debugging – Traces
04:00 PM | 20 Aug. 2009
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
HyperFileSQL DataBase – Using stored procedures
03:01 PM | 20 Jul. 2009
Popular posts
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
RSS feeds
Tips & Tricks
Technology and Market
Archives
November 2009 (1)
August 2009 (2)
July 2009 (4)
June 2009 (1)