Perforce 2005.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 -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 import (that is, integrate from a remote depot) or 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. If the -L option is used, the description is the full changelist description, truncated to 250 characters.

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 long output, with the full text of each changelist description.

-L

List long output, with the full text of each changelist description truncated at 250 characters.

-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 2005.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-2005 Perforce Software. All rights reserved.
Last updated: 12/15/05