Table of Contents
Subversion
Subversion is a popular free revision control system. A revision control system lets you keep track of new versions of a file, to track changes and to revert back to earlier versions.
Using a revision control system has many advantages:
Subversion support in AFRY Intelligent Scenario Modelling
AFRY Intelligent Scenario Modelling allows users to checkout projects and commit projects directly from the File menu.
Before the Subversion functionality can be used you must set up the Subversion repository connection.
Commit a project
Putting a fresh project under version control
To put a project under version control means that you register it with a Subversion repository and submit it’s data to the repository server. This is equivalent of the file system “Save As” operation.
- Open the project
- Make sure that the connection settings are set for the repository you wish to use.
- Select File | Subversion | Commit project from the file menu. You will be asked if you want to add it to the repository.
- Select a folder in the Repository file system.
- Click Ok.
- Enter a comment if you wish, and press Ok.
Subsequent commits
Once a project has been registered with a Subversion repository, information about the Subversion repository is stored in the project. After the initial commit (“Save As”), every subsequent commit corresponds to the file system “Save” operation.
That means that the second time you commit a project you will not be prompted for a location in the repository.
Every time you commit to the repository it is highly recommended that you write a comment (when prompted) that describes the changes you have made to the project. This will help others that work on the same project see what has been changed and will also help you if you need to backtrack to an earlier version.
Checkout
Checkout of an earlier version
Underneath the Repository file system tree there is a list named History. When you select a project file in the repository, every earlier version of the project is listed here. Select the version that you wish to checkout from this list and click Ok.
