The Subversion source-control provider has been tested with SVN 1.4.3.

Provider-specific options

The following environment options are supported:

Property Description
Executable The path to the svn executable.
Lock Supported If Yes, check out and undo check out operations are supported. Check out will issue the svn lock command; check in and undo check out will issue the svn unlock command.
Repository URL The Subversion URL to the repository.

Connecting to the source-control system

When connecting to source control, the provider checks if the local root is in SVN control. If this is the case, the local and remote root will be set accordingly. If the local root is not in SVN control after you have set the remote root, a svn checkout -N command will be issued to make the local root SVN controlled. This command will also copy any files in the remote root to the local root.

The user name and password you enter will be supplied with each svn command the provider issues.

Source control operations

The CrossWorks source-control operations have been implemented using SVN commands. There are no multiple file operations, each operation is done on a single file and is committed as part of the operation.

Operation Command
Get Status svn status --show-updates for local directories that are in SVN control. svn info for directories in the repository.
Add To Source Control svn add and svn commit for each directory not in SVN control. svn add and svn commit for the file.
Get Latest svn update -N for each directory not in SVN control. Optional removal of the local file for overwrite case and svn update.
Check Out Optional removal of the local file for overwrite case and svn update. svn lock to lock the file.
Undo Check Out svn unlock to unlock the file. Optional svn update to get the latest version.
Check In svn commit for the file.
Source Control Explorer svn list with a remote root. svn mkdir to create directories in the repository.