Committing Local Changes to a Remote Repository (CVS)

See Also

Once your working copies of version-controlled files have been edited, you can then place your changes into the repository using the Commit command.

To commit changes in local files to a remote repository:

  1. In the Versioning window, confirm that you want to commit the listed files.
  2. Ensure that your local copies of the files are up-to-date by clicking the Update All (update all icon) button prior to committing your changes.
  3. Once the Update command has finished, commit the files by clicking the Commit All (commit all icon) button. If the files you want to commit do not already exist in the repository, the Commit command will add them.
  4. Enter a message describing your changes in the CVS Commit dialog that appears and click Commit. The IDE executes the Commit command and the selected files are committed to the repository.

Excluding Files from a Commit

The IDE enables you to specify which files in your local working directory are recognized when using CVS commands. Using the Exclude from Commit command, you can set the IDE to temporarily disregard files when making commits.

To exclude local files in your working directory:

  1. Select the files or directories you wish to ignore in the Versioning window, Projects window, Files window, or Favorites window.
  2. Right-click and select the CVS > Exclude from Commit option. If you have the Versioning window opened, note that the IDE displays the file or directory name in strike-through text and disregards the item(s) whenever the commit command is called. Note that the files remain excluded until you include them.

Ignoring Files

If your local working directory includes files or directories that you do not want to place under version control, you can set the IDE to ignore them permanently using the Ignore command.

To ignore local files in your working directory:

  1. Select the files or directories you wish to ignore in the Versioning window, Projects window, Files window, or Favorites window.
  2. Right-click and choose CVS > Ignore. Note that the Ignore command is unavailable for files that already exist in the repository. The IDE ignores the file or directory whenever CVS commands are called on them or the directories within which they are stored.
See Also
Checking Out Files from a Remote Repository
Comparing File Revisions
Resolving Merge Conflicts

Legal Notices