The CVS source-control provider has been tested with CVSNT 2.5.03. The CVS source-control provider uses the CVS rls command to browse the repository—this command is implemented in CVS 1.12 but usage of ‘.’ as the root of the module name is not supported.
The following environment options are supported:
Property | Description |
CVSROOT | The CVSROOT value to access the repository. |
Edit/Unedit Supported | If Yes, Check Out and Undo Check Out commands are supported. Any check-out operation will issue the cvs edit command; any check-in or undo-check-out operation will issue the cvs unedit command; the status operation will issue the cvs ss command. |
Executable | The path to the cvs executable. |
Login/Logout Required | If Yes, Connect will issue the cvs login command. |
When connecting to source control, the provider checks if the local root is in CVS control. If this is the case, the local and remote root will be set accordingly. If the local root is not in CVS control after you have set the remote root, a cvs checkout -l -d command will be issued to make the local root CVS controlled. This command will also copy any files in the remote root to the local root.
The SEGGER Embedded Studio source-control operations have been implemented using CVS commands. There are no multiple-file operations, each operation is done on a single file and committed as part of the operation.
Operation | Command |
Get Status | cvs status and optional cvs editors for local directories in CVS control. cvs rls -e for directories in the repository. |
Add To Source Control | cvs add for each directory not in CVS control. cvs add for the file. cvs commit for the file and directories. |
Get Latest | cvs update -l -d for each directory not in CVS control. cvs update to merge the local file. cvs update -C to overwrite the local file. |
Check Out | Optional cvs update -C to get the latest version. cvs edit to lock the file. |
Undo Check Out | cvs unedit to unlock the file. Optional cvs update to get the latest version. |
Check In | cvs commit for the file. |
Source Control Explorer | cvs rls -e with a remote root starting with ‘.’. cvs import to create directories in the repository. |