Common Subcommand Options
Many of the CVS subcommands (add, commit, and so on) share a large number of
common options. They are described here.
-
-ddirectory-name Check out or update a sandbox into a directory called directory-name instead of using the repository directory name or the name designated in the modules file in the repository’s CVSROOT 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
checkoutparameter contains only one file or directory and the-doption is used, CVS does not create any intervening directories. Use-Nto prevent CVS from shortening the path.-
-Ddate Run the subcommand on the latest revision of a file that is as old as or older than the date or time specified by
date.-
-f Use the latest (
HEAD) revision of a file that is on the current branch or trunk if no revision matches a specified date or revision number. This option applies only if-ror-Dis used.-
-kmode Specify the keyword expansion mode to be mode. For
cvs add, this option also sets the default keyword mode for the file. If you forget to set the default keyword mode withcvs add, you can do so later withcvs admin. The keyword-expansion modes are listed in the later section "Keywords and Keyword Modes.”-
-l Run the subcommand on the files in the local directory only. (Do not recurse into subdirectories.) See also
-R.-
-mmessage Use the specified message as the description ...
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