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.
CVS Command | Command-Line Equivalent | Description |
---|---|---|
Refresh | cvs status -l |
Refreshes the file status of the files in the selected package. |
Refresh Recursively | cvs status -R |
Recursively refreshes the file status of all files in the selected package. |
Init | cvs init |
Initializes the CVS repository. Initialization is necessary only after creation of a new repository directory. |
Check Out Module | cvs checkout |
Shows a list of available modules and enables you to select one or more modules to check out. |
Export Module By Date | cvs export -D |
Shows a list of available modules and exports the selected modules (according to the date entered) to the desired directory. |
Export Module By Revision | cvs export -r |
Shows a list of available modules and exports the ones selected (according to the tag name entered) to the desired directory. |
Commit | cvs commit |
Incorporate your changes to the CVS repository. When you choose this command, you are prompted by a dialog box explaining the reason for the changes you have made. When a template is present, it is added to the reason text area. |
Update | cvs update |
Updates the file with changes that other developers have made to the source in the CVS repository and, if necessary, merges local changes. |
Add | cvs 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. |
Remove | cvs 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. |
Import | cvs import |
Copies the whole working directory structure to the CVS repository. After using this command, you should delete the original sources in your system and check out the imported directory structure from the repository. You can use the Import And Check Out command to save one step. |
Import And Check Out | cvs import and cvs checkout |
Copies the whole directory structure on your system to the CVS repository, renames the original directory, and then runs the Check Out command. After the command is successfully completed, inspect the checked out directory (to make sure that it was checked out correctly) and delete the original directory. |
Check Out | cvs checkout -R |
Makes a copy of the selected package or file from the CVS repository and places it in your working directory. |
Export By Date | cvs export -D |
Exports the selected package or file from the CVS repository to the desired directory by the date entered. |
Export By Revision | cvs export -r |
Exports the selected package or file from the CVS repository to the desired directory by the tag name entered. |
Lock | cvs admin -l |
Locks the file so that only you can edit it. |
Unlock | cvs admin -u |
Unlocks the file to free other users to edit it. |
Editing ![]() |
cvs edit |
Makes the local copy of the file writable. Also sends notification to users who have requested edit notification for this file. |
Editing ![]() |
cvs unedit |
Abandons work on the working file and reverts to the repository version on which the file is based. |
Editing ![]() |
cvs editors |
Lists the users currently working on the file. |
Watches ![]() |
cvs 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.) |
Watches ![]() |
cvs watch off |
Turns off notification about work on files. Working files created by CVS are given read/write attributes. |
Watches ![]() |
cvs watch add |
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. |
Watches ![]() |
cvs watchers |
Lists the users currently watching changes to files. |
Status | cvs status |
Displays a window with the file's status information. |
Log | cvs log |
Displays a window with the file's log information. |
Check Out Revision | cvs checkout -r |
Extracts any desired revision from the CVS repository into your working directory. A dialog box with available revisions is displayed. |
Update Revision | cvs update -r |
Updates your file in the working directory with any desired revision from the CVS repository. A dialog box with available revisions is displayed. |
Merge With Branch | cvs update -j |
Merges your changes with a desired branch. A dialog box with available branches is displayed. |
Remove Sticky Tag | cvs update -A |
Removes any sticky tag associated with the file. This also updates your file with the HEAD revision. |
Add tag | cvs tag [-b] [-r or cvs rtag [-b] [-r |
Adds a symbolic tag to the file. The desired revision number and tag type can be specified from the dialog box. Use branch tag for creating a new branch. |
View Branches | cvs log |
Displays a window with a revision tree. You can select any two revision numbers and compare their contents. |
Diff | cvs diff |
Displays the differences between your working file and the repository version on which it is based. |