(cvs.info.gz) log options
Info Catalog
(cvs.info.gz) log
(cvs.info.gz) log examples
A.15.1 log options
------------------
By default, `log' prints all information that is available. All other
options restrict the output. Note that the revision selection options
(`-d', `-r', `-s', and `-w') have no effect, other than possibly
causing a search for files in Attic directories, when used in
conjunction with the options that restrict the output to only `log'
header fields (`-b', `-h', `-R', and `-t') unless the `-S' option is
also specified.
`-b'
Print information about the revisions on the default branch,
normally the highest branch on the trunk.
`-d DATES'
Print information about revisions with a checkin date/time in the
range given by the semicolon-separated list of dates. The date
formats accepted are those accepted by the `-D' option to many
other CVS commands ( Common options). Dates can be
combined into ranges as follows:
`D1<D2'
`D2>D1'
Select the revisions that were deposited between D1 and D2.
`<D'
`D>'
Select all revisions dated D or earlier.
`D<'
`>D'
Select all revisions dated D or later.
`D'
Select the single, latest revision dated D or earlier.
The `>' or `<' characters may be followed by `=' to indicate an
inclusive range rather than an exclusive one.
Note that the separator is a semicolon (;).
`-h'
Print only the name of the RCS file, name of the file in the
working directory, head, default branch, access list, locks,
symbolic names, and suffix.
`-l'
Local; run only in current working directory. (Default is to run
recursively).
`-N'
Do not print the list of tags for this file. This option can be
very useful when your site uses a lot of tags, so rather than
"more"'ing over 3 pages of tag information, the log information is
presented without tags at all.
`-R'
Print only the name of the RCS file.
`-rREVISIONS'
Print information about revisions given in the comma-separated
list REVISIONS of revisions and ranges. The following table
explains the available range formats:
`REV1:REV2'
Revisions REV1 to REV2 (which must be on the same branch).
`REV1::REV2'
The same, but excluding REV1.
`:REV'
`::REV'
Revisions from the beginning of the branch up to and
including REV.
`REV:'
Revisions starting with REV to the end of the branch
containing REV.
`REV::'
Revisions starting just after REV to the end of the branch
containing REV.
`BRANCH'
An argument that is a branch means all revisions on that
branch.
`BRANCH1:BRANCH2'
`BRANCH1::BRANCH2'
A range of branches means all revisions on the branches in
that range.
`BRANCH.'
The latest revision in BRANCH.
A bare `-r' with no revisions means the latest revision on the
default branch, normally the trunk. There can be no space between
the `-r' option and its argument.
`-S'
Suppress the header if no revisions are selected.
`-s STATES'
Print information about revisions whose state attributes match one
of the states given in the comma-separated list STATES.
`-t'
Print the same as `-h', plus the descriptive text.
`-wLOGINS'
Print information about revisions checked in by users with login
names appearing in the comma-separated list LOGINS. If LOGINS is
omitted, the user's login is assumed. There can be no space
between the `-w' option and its argument.
`log' prints the intersection of the revisions selected with the
options `-d', `-s', and `-w', intersected with the union of the
revisions selected by `-b' and `-r'.
Info Catalog
(cvs.info.gz) log
(cvs.info.gz) log examples
automatically generated byinfo2html