Subversion is a centralized version control system developed by Apache. For more information, see the official Subversion website and documentation.
Ranorex Studio uses two applications for Subversion integration, both of which are installed by default with Ranorex Studio:
- SharpSvn: A library set used to work with Subversion.
- TortoiseSVN: A Windows shell extension for Subversion that provides icon overlays to show file status in Ranorex Studio.
If a required prerequisite is missing, Ranorex Studio will display a dialog to assist you:
Add a Ranorex Solution to Subversion
Before you begin, make sure your Subversion infrastructure is set up and working properly.
To add an existing Ranorex solution to Subversion:
- Right-click the solution.
- Go to Source Control.
- Click Add Solution to Source Control.
The Source Control Wizard will be opened. Follow these steps:
- Select Subversion as the source control provider.
- Enter the repository URL when prompted by TortoiseSVN.
- Authenticate on the Subversion server.
- Select the repository folder where you want to store the solution.
- Select the files you want to place under source control and clear the files you do not want to include.
- Add the selected files to source control.
- Commit the changes to the Subversion server.
After completing these steps, your solution is under source control, and your local copy is up to date.
Check out a Ranorex Solution from Subversion
Before you begin, make sure your Subversion infrastructure is set up and working properly.
- Open the Tools menu, Source Control, and click Checkout...
- In the Source Control Wizard, select Subversion as the source control provider.
- Enter the URL of your repository and specify the checkout directory.
- Enter the repository URL and specify the checkout directory.
Icon overlays in Projects View
Overlay icons are added to the items in the Projects View in Ranorex Studio, as the solution is under source control.
| Icon overlays | |
|
|
Not locally modified, no changes waiting for commit. |
|
|
Indicates a conflict. |
|
|
Modified, changes are waiting to be committed. |
|
|
Marked for addition, waiting to be committed. |
Ranorex Studio provides options related to Subversion.
To open them:
- Open the Tools menu.
- Click Options...
- In the dialog, select Tools > Subversion Options.
By default, all checkboxes are selected. You can also find the currently used SharpSvn version here.
Use another version of SharpSvn and TortoiseSVN
To use a different version of TortoiseSVN and SharpSvn than the preinstalled versions, follow these steps:
- Download and install TortoiseSVN from the TortoiseSVN website.
- Download the corresponding SharpSvn package.
- Make sure the SharpSvn version matches the installed TortoiseSVN version.
- Extract the downloaded package.
- Copy the extracted folder to:
RanorexStudioAddInsSourceControlSubversionAddin - Restart Ranorex Studio.