Setting the CVS keyword substitution mode

CVS uses the keyword substitution mode of a file to differentiate binary files from ASCII files and to indicate what type of keyword substitution is to take place when files are committed and checked out.

To set the CVS keyword substitution mode:

  1. In one of the navigation views, select the files or containing folders for which a change in keyword substitution mode is desired. Note: Ensure that any new files that are to be committed are added to CVS version control as the keyword substitution mode can only be set for files that are already under CVS control.
  2. From the pop-up menu, select Team > Change ASCII/Binary Property. The Set Keyword Substitution Mode wizard will open. The following dialog was opened was opened on the org.eclipse.jdt.core project:

    The Set Keyword Substitution Mode wizard

  3. The wizard contains a list of all founds found in the selection. On this page, you can do the following:
  4. When you are done specifying the new modes for any files, enter the commit comment to be associated with any file commits. Files will need to be committed if changing the file type from Binary to ASCII results in a change in the file content due to line terminator adjustments. Click Finish to apply the changes.

Related concepts
Team programming with CVS
Branches
Synchronizing with a CVS repository

Related tasks
Creating a CVS repository location
Checking out a project from the CVS repository
Replacing resources in the Workbench
Branching
Synchronizing with the repository
Updating
Resolving conflicts
Merging from a branch

Related reference
CVS
File Content