Contents / Previous / Next


import: Import Sources into CVS

Use `import' to incorporate an entire source distribution from an outside source (e.g., a source vendor) into your source repository directory.
You can use this command both for initial creation of a repository, and for wholesale updates to the module from the outside source.
   import [-options] repository vendortag releasetag...

At least three arguments are required:

REPOSITORY is needed to identify the collection of source. It gives a directory name (or a path to a directory) under the CVS root directory for repositories; if the directory did not exist, import creates it.

VENDORTAG is a tag for the entire branch (e.g., for 1.1.1).

RELEASETAG to identify the files at the leaves created each time you execute `import'.


import Output

import prints a line for each processed file,
preceded by one character indicating the status of the file:
`U FILE'
     The file already exists in the repository and has not been locally
     modified; a new revision has been created (if necessary).

`N FILE'
     The file is a new file which has been added to the repository.

`C FILE'
     The file already exists in the repository but has been locally
     modified; you will have to merge the changes.

`I FILE'
     The file is being ignored (*note cvsignore::).

`L FILE'
     The file is a symbolic link; `cvs import' ignores symbolic links.