O'Reilly logo

Essential CVS by Jennifer Vesperman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

history — Synonyms: hi, his

Synopsis

cvs [cvs-options] history [-aceloTw] [-b string] [-D date] [-f file] [-m module] 
[-n module] [-p directory] [-r revision] [-t tag] [-u username] [-x flag...] 
[-z timezone] [files...]

Displays the information stored in the history file in the repository’s CVSROOT directory. If that file does not exist or is not writable, the history command fails with an error. CVS writes to the history file during checkout, export, commit, rtag, update, and release operations.

Tip

The -f, -l, -n, and -p options for cvs history act differently than their normal uses in CVS.

Command options

-a

Show history data for all users. By default, CVS shows only the data for the calling user.

-b string

Show data that is more recent than the newest record that contains the given string in the module name, filename, or repository path.

-c

Report only commits—times when the repository was modified (equivalent to -xAMR).

-D date

Report data that is more recent than the given date or time. (See Section 11.4 in Chapter 11 for legal dates.)

-e

Report on every record type. This option is equivalent to -x with every type specified.

-f file

Show data for the specified file. This option can be repeated to show data for multiple files.

-l

Show only the most recent commit to the repository.

-m module or -n module

Show data for a particular module. Using -m, CVS checks the modules file in the repository’s CVSROOT directory and then searches the history file for files and directories that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required