Add

Use the add command to add new files to the repository. To undo removed files before commit or to undo erroneously added files, use the Modify|Revert Local Changes command.

CVS handles text and binary files differently. The File Type option specifies, how the selected files should be added:

  • Automatic detection of text and binary files: this automatically detects, whether the specified files are binary or text files,
  • Treat files as text files: this forces to treat the files as text files,
  • Treat files as binary files: this treats the specified files as binary files.

Note

SmartCVS uses the selected local encoding (see Settings) for the binary/text file detection. If it finds at least one character from the 0x00..0x1F range (except the 0x09 tab-, 0x0A new-line- and 0x0D line-feed-ASCIIs), the file is considered to be a binary file.

The Keyword Substitution for Text Files option determines, what keyword substitution mode should be used for the text files. The default value can be changed in Edit|Preferences (see Actions|Add).

Note

You can not and need not to add directories with SmartCVS. Simply add the files within the unversioned directory and the directory will be added automatically.