The import Command
The import CommandThe import command enables you to incorporate source files from another project into your repository. This project can be either entirely new or a branch of an already existing module. There are three arguments with the import command:
$ cvs import –m "Import files" newcvs Newuser Version1
If CVS ignores a file and does not import the file, CVS shows I along with the file name. For example, if a file, old.txt, is being ignored and not imported, CVS shows:
-I old.txt
Note You should use import when multiple files are added into the repository. To add a single file, use the add command.
When you import files in the main repository, the current working directory is not affected. To use the newly imported files, you need to explicitly checkout them into your current working directory.
various options that you can use with the import command:
| Option | Description |
| -m | Uses messages as log information. |
| -k | Specifies the desired keyword expansion mode. |
| -I | Specifies the file names to be ignored, while importing. |
| -W | Specifies the file names to be filtered, while importing. |
