Name
checkout — Synonyms: co
, get
Synopsis
cvs [cvs-options
] checkout [-AcflnNpPrs] [-ddirectory-name
] [-Ddate
] [-jrevision
[:date
]] [-jrevision2
[:date2
]] [-kmode
] [-rrevision
]projects
...
Creates a new sandbox in the current working directory. This command can also be used to update an existing sandbox.
See also export
and update
.
Command options
-
-A
Clear sticky tags, dates, and keyword-expansion modes from a project and replace the current files with the head of the trunk.
-
-c
Display the contents of the
modules
file in the repository’sCVSROOT
directory. This option lists the modules in the current repository and the options applicable to those modules.See also
-s
.Tip
checkout -c
listsmodules
file.-
-d directory-name
Check a sandbox out into a directory called
directory-name
instead of using the repository directory name or the name designated in themodules
file in the repository’sCVSROOT
directory. This is particularly useful when creating a second sandbox for a project.CVS usually creates the same directory structure that the repository uses. However, if the
checkout
parameter contains only one file or directory and the-d
option is used, CVS does not create any intervening directories. Use-N
to prevent CVS from shortening the path.-
-D date
Check out the latest revision of each file in a project that is as old as or older than the date or time specified by
date
. This option implies the-P
option and produces a sticky date on 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.