Perforce Usage
Perforce Usage
Perforce Usage
presentation by
Rajan Kodivel
December 15th 2007
Why Perforce
Jobs
Pending Branch Labels Client Users
Submitted
Change-lists Specification Specification
Change-lists
Stop Operation
Revision History
Revert Change Settings
Sync Bookmarks Diff with Depot
Lock Display Server Info.
Open for Edit Connection View
Unlock Launch Editor
Add
Open for
Delete Submit
Slide No 4
General features
Sync, Add Files, Edit Files, Diff Files ,Submit & Revert files
Lock Files, Unlock files
Integrate Files & Resolve files
Book mark the files.
Special features
Time Lapse View & Annotation.
It enables to display all changes made to a file in a variety of ways
using change list, revision number & date for any range of revisions.
Graph View of change-list
It represents the multiple change-list submitted info in the graphical
pattern.
Configure to view any Editor
Open the files using any editor.
Change-list Commands
Security Commands
Administration commands
Jobs commands
P4 client/P4 workspace
Create or edit a client workspace specification and its
view.
P4 Clients/P4 workspaces
• List all client workspaces currently known to the
system.
P4 flush
P4 sync
Copy files from the depot into the workspace. Updates
“have list” and also copies the updated files into client
area.
P4 Where
• Show where a particular file is located, as determined
by the client view.
P4 add
P4 Delete
P4 diff
Compare a client workspace file opened for Edit to a revision in the depot.
P4 diff2
P4 dirs
P4 edit
Provide information about files in the depot without accessing their contents.
P4 fstat
P4 lock
P4 print
P4 rename
P4 revert
P4 sizes
P4 unlock
P4 changelists
P4 describe
p4 filelog
p4 opened
P4 reopen
P4 review
P4 submit
P4 branch
P4 branches
P4 integrate
P4 integrated
P4 label
P4 labels
P4 labelsync
P4 tag
Tag files with a label. Use p4 tag to tag specified file revisions with a label
P4 resolve
Resolve conflicts between file revisions. Use p4 resolve to combine the contents of two files or file
revisions into a single file revision.
P4 resolved
Display a list of files that have been resolved but not yet submitted.
P4 fix
Link jobs to the changelists that fix them. The p4 fix command links jobs
(descriptions of work to be done) to a changelist (a set of changes to files that does
the work described by a job).
P4 fixes
P4 job
P4 jobs
P4 jobsepc
P4 group
Add or delete users from a group, or set the maxresults, maxscanrows, and timeout
limits for the members of a group.
P4 groups
P4 login
p4 logout
P4 passwd
P4 protect
P4 protects
P4 tickets
Display all tickets granted to a user by p4 login. The p4 tickets command lists all
tickets stored in the user’s ticket file.
P4 user
P4 users
P4 counter
P4 counters
P4 depot
P4 depots
P4 license
Update or display the license file. The p4 license command allows Perforce superusers to update or
display the Perforce license file.
P4 logger
Report changed jobs and changelists. It is meant for use in external programs that call Perforce.
Commands Usage
BACKUP
p4 sync
force sync all the code in the client spec to tip of tree..
p4 sync -f
Force sync grabs all the files even if it exists on the local machine
p4 sync //SetTopBox/Branches/X260_dev/…@2006/12/04
p4 sync …@140854
p4 client –t template_hdtv2_stw_solo_X260_dev_fw
rajan_suse_solo_X260_dev
Search for a Client Spec with Search Strings in Perfroce Client Specs…
Create a Label
P4 label <SDK_M28.15_rc01>
P4 labelsync –l SDK_M28.15_rc01
//SetTopBox/Branches/M28/M28_15/…