CVS Tasks: Quick Reference

See Also

The following table describes common CVS tasks.

To perform this task Follow these steps
Check out sources.
  1. Choose CVS > Checkout from the main menu.
  2. In the CVS Checkout wizard, specify the location of the CVS repository, enter your password and proxy, and click Next.
  3. Specify the modules you want to check out in the Module field.
  4. Specify the local working directory into which you want to check out the selected modules.
  5. Click Finish to check out the files.
View versioning information.
  • Choose CVS > Show All Changes from the main menu.
  • Right-click any project, directory, or file that is in a CVS working directory and choose CVS > Show Changes.
Update local file versions.
  1. Right-click the file that you want to update.
  2. Choose CVS > Update from the pop-up menu.
Diff files.
  1. Right-click the file that you want to diff.
  2. Choose Diff from the pop-up menu.
Commit local changes.
  1. Right-click the file or directory you want to commit.
  2. Choose CVS > Commit from the pop-up menu.
Switch to a branch.
  1. Right-click the file or folder you want to be the root of your branch and choose CVS > Switch to Branch.
  2. In the Switch to Branch dialog, enter a Branch name or click Browse to see a list of available branches.
  3. Click Switch.
Create a branch.
  1. Right-click the file or folder you want to be the root of your branch and choose CVS > Branch.
  2. In the Branch dialog, enter a Branch name or click Browse to see a list of available branches.
  3. If you want to tag the file or directory, select the Tag Before Branching checkbox and enter a Tag name.
  4. If you want to switch to the new branch after creating it, select the Switch to This Branch Afterwards checkbox.
  5. Click Branch.
Apply a tag.
  1. Right-click the file or folder and choosing CVS > Tag.
  2. Enter the tag name in the text field or click Browse to choose from a list of existing tags.
  3. If you want to ensure that the tag is not attached to local revisions that are out of date, select the Avoid Tagging Locally Modified Files checkbox.
  4. If you want to move an existing tag to the current revision in your local working directory, select the Move Existing Tags checkbox.
Merge revisions.
  1. Right-click the files or folders that you want to merge into your local working copy and choose CVS > Branches > Merge Changes from Branch.
  2. Select the branch you want to merge the changes to.
  3. Click Merge.
Create a patch.
  1. Right-click the locally modified file or folder and choose CVS > Export Diff Patch.
  2. Enter a name for the patch file and specify the location where you want to save the patch.
  3. Click Export.
Apply a patch.
  1. Right-click the file or folder on which you want to apply the patch and choose Tools > Apply Patch.
  2. Type the path or navigate to the patch file you want to apply.
  3. Click Patch.
See Also
About CVS
Using CVS with the IDE
Working with CVS

Legal Notices