Name

import — Synonyms: im, imp

Synopsis

cvs [cvs-options] import [-b branch] [-d] [-I ignore] [-k mode] [-m message]
[-W wrapper] project-name vendor-tag release-tag
                  

Creates a new project in the repository or manages vendor branches.

Command options

-b branch

Import to the specified vendor branch. If you have more than one external supplier for a project, you may need to use two or more distinct vendor branches to manage the project. If you are using multiple vendor branches, use the -b option to specify which branch you are importing to. branch must be the branch number, not a tag, and CVS does not check that the branch number given with the option and the symbolic tag provided as the vendor-tag argument to the command correspond to the same branch.

I strongly recommend that you read Section 7.1.3 in Chapter 7 before using this option.

-d

When setting the timestamp on each imported file, use each file’s last modification time rather than the current time.

-I ignore

Ignore the named file when updating. -I can be used more than once. Use -I ! to clear the list of ignored files. See Section 6.5.3.2 in Chapter 6.

-k mode

Import the file or files with the designated keyword-expansion mode. This option also sets the default keyword mode for the file. If you forget to set the default keyword mode with cvs import, you can do it later with cvs admin.

The keyword-expansion modes are listed in Section 11.6 of Chapter 11.

-m message

Use the message when committing a file. CVS does not call the ...

Get Essential CVS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.