Perforce Command Reference:   [Index] [Prev] [Next]


p4 have

Synopsis

List files and revisions that have been synced to the client workspace.

Syntax

p4 [g-opts] have file...

Description

List those files and revisions that have been copied to the client workspace with p4 sync. If file patterns are provided, the list is limited to those files that match one of the patterns, and to those files that are mapped to the client view.

p4 have lists the files, one per line, in the format

depot-file#revision-number - local-path

Options

g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
No No list

Examples

p4 sync //depot/foo... p4 have //depot/foo p4 sync //depot/foo/...#4 p4 have //depot/foo The first p4 have will show that the highest revision of the file has been copied to the client workspace. The second p4 have will show that the fourth revision is the revision currently in the client workspace.

Related Commands

To copy file revisions from the depot to the client workspace p4 sync
To list files locations in depot syntax, client syntax, and local syntax p4 have



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)