Work with SVN

This task describes how to work with virtualization projects that are under SVN version control.

Prerequisites

  1. 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.
  2. Check in your virtualization project or solution using TortoiseSVN.

Back to top

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.

Back to top

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.

Back to top

Open a version controlled project

You can open a project or solution, or add a project to an existing solution.

  1. 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.

  2. Navigate to and select a checked out project located in the file system.

Back to top

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.

Back to top

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.

Back to top

Add a Service Virtualization project to an SVN repository

  1. In a non-versioned project, from the main menu, select View > Projects to display the Projects pane.
  2. 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.

Back to top

See also: