Work with SVN
This task describes how to work with virtualization projects that are under SVN version control.
Prerequisites
- Integration with SVN requires that TortoiseSVN version 1.8 is installed on the Service Virtualization Designer machine. You can download TortoiseSVN from http://tortoisesvn.net.
- Check in your virtualization project or solution using TortoiseSVN.
Upgrade your project to the current version of TortoiseSVN
If your Service Virtualization project is under version control using a TortoiseSVN client version earlier than 1.8, you must upgrade your working copy.
In the Virtualization Explorer or in the Projects pane, right-click a solution or project and select SVN Upgrade working copy.
Note: The upgrade process is performed on the complete working copy, even if the virtualization project is only a part of the directory.
Check out a virtualization project
Your virtualization project must be committed to an SVN repository.
From the main menu, select File > Checkout. This accesses the TortoiseSVN user interface, and you can proceed to check out a project to the file system.
Open a version controlled project
You can open a project or solution, or add a project to an existing solution.
-
Select one of the following:
- Open an existing project or solution. From the main menu, select Open Project/Solution.
-
Add an existing project to a solution. In the Projects pane, right-click a solution and select Add > Existing Project.
- Navigate to and select a checked out project located in the file system.
Manage version control
When a virtualization project is under version control, standard SVN actions are available in the Service Virtualization Designer.
Select one of the following:
- In the Virtualization Explorer, right-click a project name and select an SVN action.
-
From the main menu, select View > Projects to display the Projects pane. Right-click a solution or project and select an SVN action.
The following options are available:
Commit | Commit your changes to the SVN repository. |
Revert | Undo changes you made since the last update. |
Subversion | Opens a sub-menu with additional SVN actions you can perform. |
The TortoiseSVN user interface opens, enabling you to manage version control for the project. For more details on SVN actions, see the TortoiseSVN documentation.
View version status
From the main menu, select View > Projects to display the Projects pane. SVN icons indicate the version control status of your project's files.
Add a Service Virtualization project to an SVN repository
- In a non-versioned project, from the main menu, select View > Projects to display the Projects pane.
-
Right-click the project or solution name and select SVN Import.
The TortoiseSVN user interface opens, enabling you to add your project to a repository. For more details, see the TortoiseSVN documentation.
See also: