Name
import
Synopsis
import [ -bbranch] [ -d ] [ -Ipattern] [ -kkflag] [ -mmessage] [ -Wspec]modulevendor_tagrelease_tag...
Import an entire directory into the repository as a new module. Used to incorporate code from outside sources or other code that was initially created outside the control of the CVS repository. More than one release_tag may be specified, in which case multiple symbolic tags will be created for the initial revision.
The vendor_tag argument is used to track third-party code that may be used in your project. By using different values for this argument, you can track the third-party code separately, and upgrade that portion of your code to a new release with a subsequent cvs import command. Since the argument is not optional, use some conventional value such as “vendor” whenever the code being imported should not be tracked separately.
The release_tag argument is used to associate a symbolic tag with the initial version of every file being imported. Since this argument is not optional, use some conventional value such as “start” whenever you don’t have a more meaningful value to provide.
The standard meaning of the common client option -k applies. Additional options are:
- -b branch
Import to a vendor branch.
- -d
Use the modification date and time of the file instead of the current date and time as the import date and time. For local repository locators only.
- -I pattern
Filename patterns for files to ignore.
- -m message
Use message as the log message instead of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access