CVS Commands

You can call CVS commands on files and packages in CVS filesystems by right-clicking a node, choosing CVS from the contextual menu, and choosing a specific command from the submenu.

The two different types of CVS filesystems organize their commands differently and provide different dialog boxes to specify options. The IDE's CVS command-line support offers a range of commands that are not available in the IDE's built-in CVS client.

CVS Command Description Type of CVS Filesystem Available For
Refresh Refreshes the file status of the files in the selected package. Built-in client and Command-line support
Refresh Recursively Recursively refreshes the file status of all files in the selected package. Built-in client and Command-line support
Init Initializes the CVS repository. Initialization is necessary only after creation of a new repository directory. Command-line support
Commit Incorporates your changes to the CVS repository. When you choose this command, a dialog box lets you enter a log message describing the changes. When a template is present, it is added to the reason text area. Built-in client and Command-line support
Update Updates the file with changes that other developers have made to the source in the CVS repository and, if necessary, merges local changes. Built-in client and Command-line support
Add Adds new files (with status Local) to the CVS repository. After this command, you must use the Commit command to actually incorporate the file to the CVS repository. Built-in client and Command-line support
Remove Eliminates the file from the CVS repository. The file is locally deleted and its status changes to Locally Removed. The removal is not final until you run the Commit command. Built-in client and Command-line support
Release Reverses a checkout by locally removing directories and files, but retains CVS history for the files. Command-line support
Status Displays a window with the file's status information. Built-in client and Command-line support
Log Displays a window with the file's log information. Built-in client and Command-line support
Annotate Displays a window with the file, in which each line is annotated with the revision in which it was last changed and who changed it. Built-in client and Command-line support
History Displays information about the use of the checkout, commit, rtag, update, and release commands on the files in your working directory. Built-in client and Command-line support
Import Copies the whole working directory structure to the CVS repository. After using this command, delete the original sources in your system and check out the imported directory structure from the repository. Built-in client and Command-line support
Check Out Enables you to check out a CVS module or modules from the CVS repository into your working directory. Built-in client and Command-line support
Export Enables you to get local copies of files in a CVS repository without the CVS administrative directories. Built-in client and Command-line support
Editing and choose Edit Makes the local copy of the file writable. Also sends notification to users who have requested edit notification for this file. Command-line support
Editing and choose Undo Edit Abandons work on the working file and reverts to the repository version on which the file is based. Command-line support
Editing and choose Editors Lists the users currently working on the file. Command-line support
Watches and choose Watch On Specifies that developers need to run the Edit command before editing files. (By default, the IDE calls the Edit command automatically when you start editing a watched file.) Command-line support
Watches and choose Watch Off Turns off notification about work on files. Working files created by CVS are given read/write attributes. Command-line support
Watches and choose Set Watch Shows a list of available watch actions and adds the current user to the list of people to receive notification of work done on files. Command-line support
Watches and choose Watchers Lists the users currently watching changes to files. Command-line support
Locking and choose Lock Locks the file so that only you can edit it. Command-line support
Locking and choose Unlock Unlocks the file to free other users to edit it. Command-line support
Tag Enables you to add and remove symbolic tags to files and directories. Built-in client
Branching and Tagging and choose Merge Merges your changes with a desired branch. A dialog box with available branches is displayed. Command-line support
Branching and Tagging and choose Remove Sticky Tag Removes any sticky tag associated with the file. This also updates your file with the HEAD revision. Command-line support
Branching and Tagging and choose Add Tag Adds a symbolic tag to the file. The desired revision number and tag type can be specified from the dialog box. Use a branch tag for creating a new branch. Command-line support
Branching and Tagging and choose Remove Tag Removes a symbolic tag from the file. Command-line support
Branching and Tagging and choose View Branches Displays a graphical hierarchy of all the revisions and branches for a file. Click Diff to view differences between any two revisions. Command-line support
Diff Displays the differences between your working file and the repository version on which it is based. You can also specify two file versions to compare. The two versions are displayed next to each other with the differences highlighted. Built-in client
Diff Graphical Displays the differences between your working file and the repository version on which it is based. You can also specify two file versions to compare. The two versions are displayed next to each other with the differences highlighted. Command-line support
Diff Textual Displays the differences between your working file and the repository version on which it is based. You can also specify two file versions to compare. The differences between the two versions are displayed as output. Command-line support
Login Logs you in to the CVS repository. Command-line support
Logout Logs you out of the CVS repository. Command-line support
List Modules Provides a list of modules available in the CVS repository. Built-in client
See also
Calling CVS Commands
Saving Advanced CVS Command Options
Mounting a CVS Filesystem
Setting a Relative Mount Point for a CVS Filesystem
Reconfiguring a CVS Filesystem
Built-in client Filesystem Properties
Global Settings for VCS Filesystems

Legal Notices