Perforce 2004.2 Command Reference
<< Previous Chapter
p4 edit
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 files

p4 filelog

Synopsis

Print detailed information about files' revisions.

Syntax

p4 [g-opts] filelog [-i] [-l] [-t] [-m maxrev] file...

Description

p4 filelog describes each revision of the files provided as arguments. At least one file or file pattern must be provided as an argument.

By default, the output consists of one line per revision in reverse chronological order. The format of each line is:

where:

If the action is integrate, Perforce displays a second line description, formatted as

See p4 integrated for a full description of integration actions.

If the -l option is used, the description is the full changelist description as entered when the changelist was submitted.

Options

-i

Follow file history across branches. If a file was created by integration via p4 integrate, Perforce describes the file's revisions and displays the revisions of the file from which it was branched (back to the branch point of the original file).

-l

List the full description of each revision.

-t

Display the time as well as the date.

-m maxrev

List only the first maxrev changes per file output.

g-opts

See the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

Yes

No

list

Examples

p4 filelog //depot/proj1/...

Display the revision history for every file under the depot's proj1 directory.

p4 filelog file1.c file1.h

Show the revision history for files file1.c and file1.h, which reside locally in the current working directory.

Related Commands

To read additional information about each file

p4 files

To display file information in a format suitable for scripts

p4 fstat

To view a list of open files

p4 opened

To view a list of files you've synced to your client workspace

p4 have


Perforce 2004.2 Command Reference
<< Previous Chapter
p4 edit
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 files
Please send comments and questions about this manual to [email protected].
Copyright 1999-2004 Perforce Software. All rights reserved.
Last updated: 08/19/04