Previous Table of Contents Index Next
Perforce 2009.2: P4 User's Guide



Preface About This Manual
Chapter 1 Installing P4
Chapter 2 Configuring P4
Using config files to handle switching between two workspaces
Setting the client view
Mapping part of the depot to the client workspace
Multiple mappings in a single client view
Files with different names in the depot and client workspace
Using positional specifiers to rearrange filenames and directories
Using views to exclude files from a client workspace
Erroneous mappings that conflict
Overlaying multiple directories in the same workspace
Dealing with spaces in filenames and directories
Chapter 3 Issuing P4 Commands
Using different syntaxes to refer to the same file
Retrieving files using revision specifiers
Removing all files from the client workspace
Listing changes using revision ranges
Chapter 4 Managing Files and Changelists
Copying files from the depot to a client workspace
Adding files to a changelist
Submitting a changelist to the depot
Opening a file for edit
Reverting a file
Deleting a file from the depot
Working with multiple changelists
Automatic renumbering of changelists
Shelving a changelist
Unshelving a changelist for code review
Handing off files to other users
Discarding shelved files before submitting a change.
Chapter 5 Resolving Conflicts
Resolving file conflicts
Automatically accepting particular revisions of conflicting files
Chapter 6 Codelines and Branching
Creating a branch using a file specification
Propagating changes between branched files
Integrating changes to a single file in a branch
Integrating specific file revisions
Retrieving files tagged by a label into a client workspace
Using a label view to control which files can be tagged
Using an automatic label as an alias for a changelist number
Referring specifically to the set of files submitted in a single changelist.
Referring to the first revision of every file over multiple changelists.
Chapter 7 Defect Tracking
Creating a job
Searching jobs for specific words
Finding jobs that contain any of a set of words in any field
Finding jobs that contain words in specific fields
Excluding jobs that contain specified values in a field
Using dates within expressions
Automatically linking jobs to changelists
Manually linking jobs to changelists
Chapter 8 Scripting and Reporting
Using p4 annotate to display changes to a file
Sample shell script showing parsing of p4 fstat command output
Appendix A Glossary
Appendix B Perforce File Types
Index


Previous Table of Contents Index Next

Perforce 2009.2: P4 User's Guide
Copyright 2005-2009 Perforce Software.