Using Visual C/C++ 6.0 with Subversion

Agent SVN allows you to connect Subversion to the Microsoft Visual C/C++ 6.0 IDE.

Features of the plug-in include:

  • Easy to install, easy to configure, easy to use
  • Add solutions, projects and files to Subversion, all from within the IDE
  • Check out, check in, get latest version all without leaving the IDE
  • Revert file changes from within the IDE
  • Provides the option of automatic file locking on check out and unlocking on check in
  • View file differences, file status and file history from within the IDE
  • The power of Subversion with the feel of Visual Source Safe
  • Can use an external difference tool to view file differences
Visual C/C++

Tutorial

Below are details on how to import a Visual C/C++ workspace into the Subversion repository using the Agent SVN plug-in.


Step 1: Make Sure Agent SVN is the SCC Provider

Visual C++ uses the registry to locate the current SCC provider.

The Agent SVN installer will create the following SCC registry entries during the installation process:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider]
    "ProviderRegKey"="SOFTWARE\\Xidicone\\Agent SVN"

    [HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders]
    "Agent SVN"="SOFTWARE\\Xidicone\\Agent SVN"

If Visual C/C++ does not appear to detect the Agent SVN software use the regedit.exe program to check that these registry keys are correctly defined.


Step 2: Access the Configuration Dialog

With Agent SVN set as the current source control plug-in, use the Project, Source Control, Agent SVN menu to bring up the Agent SVN configuration dialog and customised the behaviour of plug-in to suit.

SCC Provider


Step 3: Add the Workspace to the Source Control

Go to the Visual C/C++ workspace file view panel and using the mouse right click button, select the Add to Source Control menu option.

Source Countrol


Step 4: Workspace Import Complete

At this point the items selected have been checked out and are ready for editing.

Import Complete

From this point on use the source control menu options to manage the files that make up the workspace.


Step 5: Check In the Workspace

Check the workspace back into the source control. This will update the version of the workspace file found in the source control with the correct binding information.


Step 6: Check Out and Item for Editing

For example the check out menu can be used to check out a file for editing.

Check Out Item

Likewise, any of the other source control menu options can now be used.


Latest Version: Agent SVN 2.76
Released: 30th January 2024