Source Control is an AB Suite feature that provides source control of versionable AB Suite elements, Folders, and Dictionaries. Source Control stores each version of an element so that you can access and use earlier versions. With Check –in Policies, you can enforce restrictions upon the type of changes before committing a Class, Folder into the source control server. System Modeler supports any source control tool that is supported by Microsoft Visual Studio IDE. The VS IDE supports VS Source Control Package. This provides a deep-integration with Visual Studio Package. It is suitable for Source Control integration that demands a high level of sophistication and autonomy in its Source Control model.
The hub of Source Control is the Source Control Bank. The Source Control Bank is a storage facility that includes controlled copies of elements, but it does not replace the Model. The Source Control Bank supports Source Control services, such as locking and maintaining the history of an element, while the Model functions as a work area where copies of the controlled elements are modified and tested before you move them back into the Source Control Bank. The elements in a Model are automatically protected by Source Control when it is active. You can add individual elements or a group of related elements in the bank as one file. For example, you can add a <<Segment>> Class to the Source Control Bank along with all its children such as <<Ispec>> Classes, <<Report>> Classes, Attributes.
Once you add an element to the Source Control Bank, if you want to modify that element and keep track of its versions, you must check it out. The Check Out procedure exports a copy of the element from the Source Control Bank and then imports it into the Model, where you can modify it. That element is locked under your User ID in Source Control. When you check in a modified element, a new version of the element is created in Source Control. If you attempt to modify an element that is under Source Control without checking it out, it is automatically checked out irrespective of the setting that you might have selected from the Tools > Options setting in Visual Studio under the Source Control folder.
You can also Get an element, which is to take a copy without checking it out, but the element is not locked and can be checked out and modified by another user. The current version in a Model is replaced with the version that is the subject of the Get action.
Source Control also allows you to 'Undo' pending changes, thereby discarding any changes made to an element. Only the user, who owns the workspace or the Source Control Administrator is permitted to undo the pending changes.
Source Control relies on the Source Control Services in Visual Studio and is subject to the special conditions of Source Control in System Modeler. You can control the functionality of Source Control by setting a number of user options.