Three cases for creating branch lines

on November 3, 2015

Share:

When you develop in Mendix as a team; you are bound to overlap occasionally on parts of the application. Hence as you are developing, make sure that your entire team is on the same version (ideally, the latest version). But even so, you’ll sometimes need to branch off from the main line of development. Branch lines are copies of any revision and you can branch from the main line for a variety of reasons. The main reasons to create branches could be but not limited to the following case scenarios.

Scenario 1

On no! A critical bug has been found in production and you need to resolve it as soon as possible. The solution is to create a branch from the tagged version that is in production, resolve the issue, create another tagged version and deploy into production.

Below is a visual representation of what the development line can look like.

branching-1

Scenario 2

A new Business Modeler version has been released and you either want or need to upgrade to it. The best way to move forward is to create a branch line from the current working copy. In the branch line you can test the latest version and then merge back into the main line along with the upgrade when you are ready.

branching-2

Scenario 3

As a developer you need to work on an integration or on a feature release and don’t want to commit your changes until you are ready to integrate with the rest of the team. The solution again is to create a branch line and merge your changes back into the main line whenever you are ready.

Conclusion

Mendix makes it easy and straightforward to manage your team and know exactly what changes have been made. The platform provides the flexibility to maintain multiple development lines. The goal is to manage the project as smoothly as possible while encouraging a collaborative working environment. And don’t forget to commit every day and as often as possible!

For other links and resources on details, check out the following guidelines and how to docs!

https://world.mendix.com/display/howto50/Using+Team+Server+-+Version+Control

https://world.mendix.com/display/refguide5/Version+Control+Scenarios

https://world.mendix.com/display/refguide5/Version+Control+Concepts

 

Subscribe to Our Blog

Receive Mendix platform tips, tricks, and other resources straight to your inbox every two weeks.

RSS Feed of the Mendix Blog
Daniela Field

About Daniela Field

Daniela has 7+ years of experience as a technology professional. She enjoys working with clients, understanding their business needs and offering solutions that move clients towards efficiency, productivity and profitability. She has worked with various Fortune 500 companies as well as privately held organizations. Her previous work was focused on enterprise data search, eDiscovery, document assembly and contract management. Currently, she is a Senior Solutions Consultant for the Mendix's Boston office. Daniela firmly believes that the use of Agile methodologies is the future in application development and enjoys the flexibility and speed with which applications can be developed and deployed using the Mendix Platform.

| Twitter