Name

history

Synopsis

history  
 [ -a | -u user ]  
 [ -b string ]  
 [ -c ]  
 [ -D date ]  
 [ -e | -x type ]  
 [ -f file | -m module | -n module | -p repository ]...   
 [ -l ]  
 [ -o ]  
 [ -r rev ]  
 [ -t tag ]  
 [ -T ]  
 [ -w ]  
 [ -x types ]  
 [ -z zone ]  
 [ file ... ]

Display historical information. To use the history command, you must first set up the history file in the repository. See Section 15.5.3 for more information on this file.

Note

When used with the history command, the functions of -f, -l, -n, and -p are not the same as elsewhere in CVS.

The standard meanings of the common client options -D and -r apply. History is reported for activity subsequent to the date or revision indicated. Additional options are:

-a

Show history for all users (default is current user).

-b str

Show history back to the first record containing str in the module name, filename, or repository path.

-c

Report each commit.

-e

Report everything.

-f file

Show the most recent event for file.

-l

Show last event only.

-m module

Produce a full report on module.

-n module

Report the last event for module.

-o

Report on modules that have been checked out.

-p repository

Show history for a particular repository directory.

-t tag

Show history since tag was last added to the history file.

-T

Report on all tags.

-u name

Show history for a particular user.

-w

Show history only for the current working directory.

-x types

Report on specific types of activity. See Table 15-19.

-z zone

Display times according to the specified time zone.

The -p option should limit ...

Get Linux in a Nutshell, Fourth Edition 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.