| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This appendix describes the overall structure of CVS commands, and describes some commands in detail (others are described elsewhere; for a quick reference to CVS commands, see section B. Quick reference to CVS commands).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The overall format of all CVS commands is:
cvs [ cvs_options ] cvs_command [ command_options ] [ command_args ] |
cvs
cvs_options
cvs_command
command_options
command_args
There is unfortunately some confusion between
cvs_options and command_options.
When given as a cvs_option, some options only
affect some of the commands. When given as a
command_option it may have a different meaning, and
be accepted by more commands. In other words, do not
take the above categorization too seriously. Look at
the documentation instead.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
CVS can indicate to the calling environment whether it succeeded or failed by setting its exit status. The exact way of testing the exit status will vary from one operating system to another. For example in a unix shell script the `$?' variable will be 0 if the last command returned a successful exit status, or greater than 0 if the exit status indicated failure.
If CVS is successful, it returns a successful status;
if there is an error, it prints an error message and
returns a failure status. The one exception to this is
the cvs diff command. It will return a
successful status if it found no differences, or a
failure status if there were differences or if there
was an error. Because this behavior provides no good
way to detect errors, in the future it is possible that
cvs diff will be changed to behave like the
other CVS commands.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
There are some command_options that are used so
often that you might have set up an alias or some other
means to make sure you always specify that option. One
example (the one that drove the implementation of the
`.cvsrc' support, actually) is that many people find the
default output of the `diff' command to be very
hard to read, and that either context diffs or unidiffs
are much easier to understand.
The `~/.cvsrc' file is a way that you can add
default options to cvs_commands within cvs,
instead of relying on aliases or other shell scripts.
The format of the `~/.cvsrc' file is simple. The
file is searched for a line that begins with the same
name as the cvs_command being executed. If a
match is found, then the remainder of the line is split
up (at whitespace characters) into separate options and
added to the command arguments before any
options from the command line.
If a command has two names (e.g., checkout and
co), the official name, not necessarily the one
used on the command line, will be used to match against
the file. So if this is the contents of the user's
`~/.cvsrc' file:
log -N diff -uN rdiff -u update -Pd checkout -P release -d |
the command `cvs checkout foo' would have the `-P' option added to the arguments, as well as `cvs co foo'.
With the example file above, the output from `cvs
diff foobar' will be in unidiff format. `cvs diff
-c foobar' will provide context diffs, as usual.
Getting "old" format diffs would be slightly more
complicated, because diff doesn't have an option
to specify use of the "old" format, so you would need
`cvs -f diff foobar'.
In place of the command name you can use cvs to
specify global options (see section A.4 Global options). For
example the following line in `.cvsrc'
cvs -z6 |
causes CVS to use compression level 6.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The available `cvs_options' (that are given to the left of `cvs_command') are:
--allow-root=rootdir
-a
-b bindir
-T tempdir
$TMPDIR environment
variable and any precompiled directory. This parameter should be
specified as an absolute pathname.
(When running client/server, `-T' affects only the local process;
specifying `-T' for the client has no effect on the server and
vice versa.)
-d cvs_root_directory
$CVSROOT environment variable. See section 2. The Repository.
-e editor
$CVSEDITOR and $EDITOR
environment variables. For more information, see
1.3.2 Committing your changes.
-f
-H
--help
-R
Same effect as if the CVSREADONLYFS environment
variable is set. Using `-R' can also considerably
speed up checkouts over NFS.
-n
Note that CVS will not necessarily produce exactly the same output as without `-n'. In some cases the output will be the same, but in other cases CVS will skip some of the processing that would have been required to produce the exact same output.
-Q
-q
-r
$CVSREAD environment variable is set
(see section D. All environment variables which affect CVS). The default is to
make working files writable, unless watches are on
(see section 10.6 Mechanisms to track who is editing files).
-s variable=value
-t
-v
--version
-w
$CVSREAD environment variable.
Files are created read-write by default, unless $CVSREAD is
set or `-r' is given.
-x
-z gzip-level
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section describes the `command_options' that are available across several CVS commands. These options are always given to the right of `cvs_command'. Not all commands support all of these options; each option is only supported for commands where it makes sense. However, when a command has one of these options you can almost always count on the same behavior of the option as in other commands. (Other command options, which are listed with the individual commands, may have different behavior from one CVS command to the other).
Note: the `history' command is an exception; it supports many options that conflict even with these standard options.
-D date_spec
The specification is sticky when you use it to make a private copy of a source file; that is, when you get a working file using `-D', CVS records the date you specified, so that further updates in the same directory will use the same date (for more information on sticky tags/dates, see section 4.9 Sticky tags).
`-D' is available with the annotate, checkout,
diff, export, history, ls,
rdiff, rls, rtag, tag, and update commands.
(The history command uses this option in a
slightly different way; see section A.12.1 history options).
A wide variety of date formats are supported by CVS. The most standard ones are ISO8601 (from the International Standards Organization) and the Internet e-mail standard (specified in RFC822 as amended by RFC1123).
ISO8601 dates have many variants but a few examples are:
1972-09-24 1972-09-24 20:05 |
There are a lot more ISO8601 date formats, and CVS accepts many of them, but you probably don't want to hear the whole long story :-).
In addition to the dates allowed in Internet e-mail itself, CVS also allows some of the fields to be omitted. For example:
24 Sep 1972 20:05 24 Sep |
The date is interpreted as being in the local timezone, unless a specific timezone is specified.
These two date formats are preferred. However, CVS currently accepts a wide variety of other date formats. They are intentionally not documented here in any detail, and future versions of CVS might not accept all of them.
One such format is
month/day/year. This may
confuse people who are accustomed to having the month
and day in the other order; `1/4/96' is January 4,
not April 1.
Remember to quote the argument to the `-D' flag so that your shell doesn't interpret spaces as argument separators. A command using the `-D' flag can look like this:
$ cvs diff -D "1 hour ago" cvs.texinfo |
-f
Note that even with `-f', a tag that you specify must exist (that is, in some file, not necessary in every file). This is so that CVS will continue to give an error if you mistype a tag name.
`-f' is available with these commands:
annotate, checkout, export,
rdiff, rtag, and update.
WARNING: The commit and remove
commands also have a
`-f' option, but it has a different behavior for
those commands. See A.9.1 commit options, and
7.2 Removing files.
-k kflag
checkout and update
commands, your kflag specification is
sticky; that is, when you use this option
with a checkout or update command,
CVS associates your selected kflag with any files
it operates on, and continues to use that kflag with future
commands on the same files until you specify otherwise.
The `-k' option is available with the add,
checkout, diff, export, import and
update commands.
WARNING: Prior to CVS version 1.12.2, the `-k' flag overrode the `-kb' indication for a binary file. This could sometimes corrupt binary files. See section 5.10 Merging and keywords, for more.
-l
Available with the following commands: annotate, checkout,
commit, diff, edit, editors, export,
log, rdiff, remove, rtag,
status, tag, unedit, update, watch,
and watchers.
-m message
Available with the following commands: add,
commit and import.
-n
Note: this is not the same as the `cvs -n' program option, which you can specify to the left of a cvs command!
Available with the checkout, commit, export,
and rtag commands.
-P
-p
checkout and update commands.
-R
ls & rls.
Available with the following commands: annotate, checkout,
commit, diff, edit, editors, export,
ls, rdiff, remove, rls, rtag,
status, tag, unedit, update, watch,
and watchers.
-r tag
tag or rtag command, two special tags are
always available: `HEAD' refers to the most recent version
available in the repository, and `BASE' refers to the
revision you last checked out into the current working directory.
The tag specification is sticky when you use this
with checkout or update to make your own
copy of a file: CVS remembers the tag and continues to use it on
future update commands, until you specify otherwise (for more information
on sticky tags/dates, see section 4.9 Sticky tags).
The tag can be either a symbolic or numeric tag, as described in 4.4 Tags--Symbolic revisions, or the name of a branch, as described in 5. Branching and merging.
Specifying the `-q' global option along with the `-r' command option is often useful, to suppress the warning messages when the RCS file does not contain the specified tag.
Note: this is not the same as the overall `cvs -r' option, which you can specify to the left of a CVS command!
`-r' is available with the checkout, commit,
diff, history, export, rdiff,
rtag, and update commands.
-W
import,
and update.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This is the CVS interface to assorted administrative facilities. Some of them have questionable usefulness for CVS but exist for historical purposes. Some of the questionable options are likely to disappear in the future. This command does work recursively, so extreme care should be used.
On unix, if there is a group named cvsadmin,
only members of that group can run cvs admin
commands, except for those specified using the
UserAdminOptions configuration option in the
`CVSROOT/config' file. Options specified using
UserAdminOptions can be run by any user. See
C.10 The CVSROOT/config configuration file for more on UserAdminOptions.
The cvsadmin group should exist on the server,
or any system running the non-client/server CVS.
To disallow cvs admin for all users, create a
group with no users in it. On NT, the cvsadmin
feature does not exist and all users
can run cvs admin.
| A.6.1 admin options |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Some of these options have questionable usefulness for CVS but exist for historical purposes. Some even make it impossible to use CVS until you undo the effect!
-Aoldfile
-alogins
-b[rev]
cvs admin -b: to revert to the vendor's
version when using vendor branches (see section 13.3 Reverting to the latest vendor release).
There can be no space between `-b' and its argument.
-cstring
-e[logins]
-I
-i
cvs add command
(see section 7.1 Adding files to a directory).
-ksubst
cvs update, cvs export, or cvs
checkout overrides this default.
-l[rev]
This can be used in conjunction with the `rcslock.pl' script in the `contrib' directory of the CVS source distribution to provide reserved checkouts (where only one user can be editing a given file at a time). See the comments in that file for details (and see the `README' file in that directory for disclaimers about the unsupported nature of contrib). According to comments in that file, locking must set to strict (which is the default).
-L
-mrev:msg
-Nname[:[rev]]
-nname[:[rev]]
-orange
Note that this command can be quite dangerous unless you know exactly what you are doing (for example see the warnings below about how the rev1:rev2 syntax is confusing).
If you are short on disc this option might help you. But think twice before using it--there is no way short of restoring the latest backup to undo this command! If you delete different revisions than you planned, either due to carelessness or (heaven forbid) a CVS bug, there is no opportunity to correct the error before the revisions are deleted. It probably would be a good idea to experiment on a copy of the repository first.
Specify range in one of the following ways:
rev1::rev2
::rev
rev::
rev
rev1:rev2
:rev
rev:
None of the revisions to be deleted may have branches or locks.
If any of the revisions to be deleted have symbolic
names, and one specifies one of the `::' syntaxes,
then CVS will give an error and not delete any
revisions. If you really want to delete both the
symbolic names and the revisions, first delete the
symbolic names with cvs tag -d, then run
cvs admin -o. If one specifies the
non-`::' syntaxes, then CVS will delete the
revisions but leave the symbolic names pointing to
nonexistent revisions. This behavior is preserved for
compatibility with previous versions of CVS, but
because it isn't very useful, in the future it may
change to be like the `::' case.
Due to the way CVS handles branches rev cannot be specified symbolically if it is a branch. See section 5.5 Magic branch numbers, for an explanation.
Make sure that no-one has checked out a copy of the revision you outdate. Strange things will happen if he starts to edit it and tries to check it back in. For this reason, this option is not a good way to take back a bogus commit; commit a new revision undoing the bogus change instead (see section 5.8 Merging differences between any two revisions).
-q
-sstate[:rev]
dead state for its own purposes; to
take a file to or from the dead state use
commands like cvs remove and cvs add, not
cvs admin -s.
-t[file]
If file is omitted, obtain the text from standard input, terminated by end-of-file or by a line containing `.' by itself. Prompt for the text if interaction is possible; see `-I'.
-t-string
-U
-u[rev]
commit
notification (see section 10.6.2 Telling CVS to notify you).
There can be no space between `-u' and its argument.
-Vn
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symbolic names are defined in the `modules' file. See section C.1 The modules file.
Depending on the modules you specify, checkout may
recursively create directories and populate them with
the appropriate source filese to
RCS version n, but it is now obsolete and
specifying it will produce an error.
-xsuffixes
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For each file in files, print the head revision of the trunk, together with information on the last modification for each line.
| A.7.1 annotate options | ||
| A.7.2 annotate example |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These standard options are supported by annotate
(see section A.5 Common command options, for a complete description of
them):
-l
-R
-f
-F
-r revision
-D date
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
For example:
$ cvs annotate ssfile Annotations for ssfile *************** 1.1 (mary 27-Mar-96): ssfile line 1 1.2 (joe 28-Mar-96): ssfile line 2 |
The file `ssfile' currently contains two lines.
The ssfile line 1 line was checked in by
mary on March 27. Then, on March 28, joe
added a line ssfile line 2, without modifying
the ssfile line 1 line. This report doesn't
tell you anything about lines which have been deleted
or replaced; you need to use cvs diff for that
(see section A.10 diff--Show differences between revisions).
The options to cvs annotate are listed in
B. Quick reference to CVS commands, and can be used to select the files
and revisions to annotate. The options are described
in more detail there and in A.5 Common command options.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Create or update a working directory containing copies of the
source files specified by modules. You must execute
checkout before using most of the other CVS
commands, since most of them operate on your working
directory.
The modules are either symbolic names for some collection of source directories and files, or paths to directories or files in the repository. The symboli