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 standard meaning of the common client option -k applies. Additional options are listed in Table 18-28.
Table 18-28. import options
|
Option |
Description |
|---|---|
|
|
Import to a vendor branch. |
|
|
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. |
|
|
Filename patterns for files to ignore. |
|
|
Use message as the log message instead of invoking the editor. |
|
|
Wrapper specification. |
The -k setting applies only to those files imported during this execution of the command. The keyword substitution modes of files already in the repository are not modified.
When used with -W, the
spec variable is in the same format as
entries in the cvswrappers administrative file
(see Section 18.2.3.6).
Table 18-29 describes the status codes displayed by the import command.
Table 18-29. import Status Codes
|
Status |
Description |
|---|---|
|
|
Changed. The file is in the repository, and the sandbox version is different; a merge is required. ... |
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