Perforce 2003.2 Command Reference
<< Previous Chapter
File Types
Table of Contents
Index
Perforce on the Web


Index

Symbols

#
as revision specifier    
#
as comment character    
not allowed in passwords    
%n
as wildcard    
&
as boolean AND    
*
as wildcard    
as wildcard in job searches    
as wildcard, in p4 users    
as wildcard, in protections table    
masks out password in p4 user form    
+m
modification time preservation    
...
as wildcard    
wildcard, required with p4 depot    
wildcard, restrictions with p4 add    
/
as path component separator    
as values separator in job templates    
/tmp
and TEMP    
=, >, , >=,  
as comparison operators    
@
as revision specifier    
^
as boolean NOT    
|
as boolean OR    

A

access
admin
    
levels    
limiting by IP address    
superuser    
access level
and commands, listing of    
access levels
and p4 group    
adding files
specifying default file types        
admin access level    
administering Perforce    
administration
resetting passwords    
allwrite    
API
Perforce and p4 fstat    
.asp files    
atomic changes    
.avi files    

B

base file types    
batch file
and P4MERGE    
BeOS
and symbolic links    
binary files    
comparing    
.bmp files    
boolean operators
and jobviews    
branch specifications
creating and editing    
listing    
branch view    
and p4 branch    
and p4 diff2    
and p4 integrate    
and p4 sync    
codeline example    
defined    
branches
comparing files across    
branching    
.btr files    

C

carriage return    
change review daemon            
changelist numbers
highest possible    
pending vs. submitted changelists    
changelists
and jobs      
creating or editing    
default, and p4 submit    
defined    
deleting    
details, describing    
full descriptions, displaying    
jobviews and users    
listing    
listing associated files with p4 opened    
listing associated jobs with p4 fixes    
listing jobs linked to    
listing with p4 review    
meaning of    
moving files between    
moving files between with p4 reopen    
numbered    
numbered, changing description of    
numbering of    
pending vs. submitted    
pending, listing files in    
purpose of    
removing files from with p4 revert    
specifying when adding files    
specifying when deleting files    
specifying when editing files    
specifying when resubmitting    
submitting    
changes
atomic    
conflicting, resolving    
changing file type
with -t    
characters
allowable in file names    
checkpoint    
client syntax    
and p4 files    
translating    
client view    
and p4 client    
and p4 print    
and p4 sync    
defined    
client workspace
alternate roots    
automatically changing settings for    
comparing files with depot    
creating and editing    
defined    
deleting    
files in, vs. p4 have    
listing all    
name of    
options    
populating with depot files    
root    
synchronizing labels with    
using file types to set permissions of files in    
client workspace templates    
clients
and labels    
and temporary files    
clobber      
closing jobs
with p4 submit    
.cnf files    
codelines
and branch views    
comparing files across    
command-line options
globally-available    
commands
controlling access to    
help on    
listed by access level    
comments
in job templates, and P4Win    
comparing
binary files    
files      
comparison operators
and jobviews    
compress    
compression
of files, automatic    
COMPUTERNAME
default client workspace on Windows    
counter
limits    
counters
and p4 review    
and review access    
listing    
setting    
CR/LF translation    
and LineEnd setting    
creating
branch views    
depot specifications    
creating users    
crlf    
cross-platform development
line endings    
.css files    
current directory    
and temporary files on non-UNIX clients    

D

-d flag
deleting changelists with    
daemons
and review access    
change review            
changelist numbers    
tips for creating    
default changelist
listing open files in    
default changelists
and p4 submit    
deleting files    
deleting passwords    
deleting users    
delta storage
defined    
depot
comparing files with client workspace    
comparing two revisions of files in    
files, getting from    
how files are stored in    
listing files in    
submitting changes to    
verifying integrity of    
depot syntax    
and have list    
and p4 branch    
and p4 print    
and protections table    
translating    
depots
creating or editing    
deleting    
empty    
listing    
populating    
remote      
remote, and protections    
diff chunks
and file conflicts    
diff program
and p4 describe    
and p4 diff    
and p4 diff2    
Perforce internal routine    
third-party, specifying    
diffing files      
directories
and spaces    
directories, empty
removing on sync    
directory
current    
discarding changes    
disk space
reclaiming    
DNS
and P4PORT    
.doc files    
.dot files    

E

editing
branch views    
depot specifications    
files    
user specifications    
editor
form, commands which use    
form, specifying with P4EDITOR    
EDITOR_SIGNATURE
and P4EDITOR on Macintosh    
emacs
setting as default form editor    
empty depots
populating    
environment variables
and Windows registry    
how to set    
overriding with global options    
P4CHARSET    
P4CLIENT    
P4CONFIG    
P4DEBUG    
P4DIFF    
P4EDITOR    
P4HOST    
P4JOURNAL    
P4LANGUAGE    
P4LOG    
P4MERGE    
P4PAGER    
P4PASSWD    
P4PCACHE    
P4PORT    
P4ROOT    
P4TARGET    
P4USER    
PWD    
setting for a Windows service    
setting with P4CONFIG    
TMP, TEMP    
example
branching and codelines    
changing file types    
comparing files across a branch    
creating a job    
deleting a user    
editing a job    
editing user information    
effects of protections    
generating output for scripts    
getting files from depot    
integrating files    
listing jobs by various criteria    
listing opened files    
moving files between changelists    
p4 typemap    
pending changelist, listing files in    
pipes and -x    
pre-submit triggers, use of    
propagating changes    
protections table    
RCS keyword expansion    
renaming files    
reverting files to pre-opened states    
scheduling a resolve    
submitting files in changelists    
syncing a client workspace    
viewing user information    
working as another user    
exclusionary mappings    
and p4 protect    
and triggers    
.exp files    

F

-f flag
editing previously-submitted changelists    
editing read-only job fields with    
forcing label deletion with    
overriding client workspace settings    
fields
null, in jobs    
file names
valid characters for    
with spaces, in views    
with spaces, on command line    
file specifications
and p4 revert    
and p4 submit    
help on    
interpreted by local shell    
file types      
and p4 add    
and p4 edit    
and permissions in client workspace    
and storage in depot    
apple    
base    
binary    
changing    
determined by Perforce    
help on    
keywords    
listed    
mapping to filenames    
modifiers    
resource    
showing    
specifying    
specifying with -t    
symlink    
text    
filenames
and spaces    
mapping to file types    
files
adding to depot    
adding to label    
adding, specifying default type        
.asp    
.avi    
binary, comparing    
.bmp    
.btr    
changing type    
changing type with -t    
checkpoints and journals    
.cnf    
comparing      
comparing between codelines    
conflicts between, resolving    
controlling access    
copying from depot    
.css    
deleting from depot    
deleting from label    
deleting permanently    
delta and full-file storage    
displaying info for scripts    
displaying revision histories    
.doc    
.dot    
editing    
editing older revisions    
.exp    
getting from depot    
getting latest revision    
.gif    
.htm    
.html    
.ico    
in a label, listing    
in changelists, detailed information    
.inc    
including in labels    
.ini    
integrated, listing    
integrating changes between    
.jpg    
.js    
.lib    
linked to changelist, listing    
listing    
listing contents of, by revision    
listing open files    
locating    
locked    
locking    
.log    
mapping Perforce file types to filenames    
modification time, preserving    
moving between changelists      
.mpg    
multi-forked    
obliterating    
on other depots, accessing    
open, discarding changes    
open, listing    
open, submitting    
opening for add    
opening for branch with p4 integrate    
opening for delete    
opening for delete with p4 integrate    
opening for edit    
opening for integrate    
.pdf    
.pdm    
permanent removal of    
.ppt    
preventing other users from editing    
re-adding after prior deletion    
removing from changelists      
removing with #none    
renaming    
reopening    
resolving conflicts between    
reverting    
reverting to pre-edit state    
saving changes to depot    
scheduled for resolve, listing    
scheduling for resolve    
specifying    
specifying by change number    
specifying by date and time    
specifying by revision    
specifying type of    
stored compressed    
submitting    
syncing    
types of    
unlocking    
unresolved, listing    
verifying integrity of    
.xls    
yours, theirs, base, merge, meaning when resolving    
.zip    
fixes
deleting fix records with p4 fix -d    
listing    
to jobs over multiple changelists    
forms
commands which use    
specifying editor with P4EDITOR    
full file storage
defined    

G

-G option    
getcwd()
in lieu of PWD    
getting files from depot    
.gif files    
global options    
help on    
groups
and subgroups    
controlling access    
creating    
deleting    
listing users in    
gzip    

H

have list
and p4 delete    
defined    
listing with p4 have    
vs. files in workspace    
have revision      
head revision
and p4 delete    
and p4 edit    
specifying    
help
use p4 help    
hosts file
and P4PORT    
hosts, impersonating
impersonating hosts    
.htm files    
.html files    

I

-i flag
changelists and integrated files    
.ico files    
.inc files    
.ini files    
integrate
files, opening for    
integration
listing    
scheduling    
IP addresses
controlling access by    

J

-J option
and p4d    
job specification
displaying    
job table
reindexing    
job templates
comments in, and P4Win    
job views
help on    
jobs
* wildcard    
and changelists    
changing status of    
closing with p4 submit    
creating and editing    
defined    
excluding from query    
fixing over multiple changelists    
linked to changelist, showing    
linked to changelists, listing    
linking to changelists with p4 fix    
listing    
null fields    
wildcards    
jobs template
modifying    
JobView field
and p4 user form    
use of    
Jobview field
and changelists    
and p4 user    
jobviews
and comparison operators    
and field types    
limitations    
searching jobs    
journal    
journal file
specifying with P4JOURNAL    
.jpg files    
.js files    

K

keywords
RCS, examples    
RCS, expanding    
specifying Perforce file types    

L

-l flag
and long change descriptions      
and long job descriptions    
-L option
and p4d    
label
adding files to    
deleting files from    
listing files in    
unlocking    
label view    
defined    
labels
and clients    
listing    
owner of, changing    
synchronizing with clients    
labelsync
ownership of label required    
ownership required    
latest revision
specifying    
.lib files    
licence
and pre-submit triggers    
license
and remote virtual user    
limitations
and jobviews    
line endings    
LineEnd    
CR/LF    
linefeed convention    
list access level    
listing
branches    
changelists    
client workspaces    
counters    
depots    
file contents by revision    
file integrations    
files in a label    
files in depot    
files scheduled for resolve    
fixes    
groups    
jobs    
jobs linked to changelists    
labels    
open files    
listing subdirectories    
listing users    
local syntax    
and have list    
translating    
locked    
locked files
finding    
locking files    
.log files    

M

Macintosh
and file types    
and linefeed convention    
changing default form editor    
line-ending convention    
resource fork file type    
mappings
and p4 client    
and protections table    
directories with spaces
    
exclusionary    
exclusionary, and protections table    
exclusionary, and triggers    
in branch views      
in client views    
in label views      
integration, and p4 branch    
local and remote depots    
mappings, order of
and triggers    
in protections    
in views    
maxresults
and p4 filelog    
and p4 files    
and p4 print    
commands affected by    
setting with p4 group    
maxscanrows
commands affected by    
setting with p4 group    
MD5
and p4 verify    
and passwords      
MERGE environment variable
and P4MERGE    
merge programs
third-party, specifying    
modifier
file type, +m    
modtime    
changes as of 2000.1    
.mpg files    
multi-forked file    

N

network
data compression    
noallwrite    
noclobber      
nocompress    
nocrlf    
nomodtime    
changes as of 2000.1    
nonexistent revision
specifying    
normdir    
numbered changelists    

O

obliterating files    
online help
use p4 help    
open access level    
open files
changing type with p4 reopen    
opening files
for add    
for delete    
for edit    
operators
boolean, and jobviews    
comparison, and jobviews    
options
for client workspaces    
global    
output
formatting for scripts with -s    
overriding
registry variable settings    
owner
of label, changing    

P

p4
version of    
p4 add    
p4 admin    
p4 branch    
and p4 integrate    
p4 branches    
p4 change    
p4 changes    
p4 client    
options, and p4 sync    
p4 clients    
p4 counter    
p4 counters    
p4 delete    
vs. p4 obliterate    
p4 depot    
p4 depots    
p4 describe    
p4 diff    
and P4DIFF    
p4 diff2    
and branch views    
p4 dirs    
p4 edit    
p4 executable
version of    
p4 filelog    
p4 files    
p4 fix    
p4 fixes
and changelists    
p4 flush    
p4 fstat    
p4 group    
p4 groups    
p4 have    
vs. files in workspace    
p4 help    
p4 info    
p4 integ
abbreviation for p4 integrate    
p4 integrate    
p4 integrated    
p4 job    
p4 jobs    
p4 jobspec    
and P4Win    
p4 labels    
p4 labelsync    
and p4 label    
p4 lock    
p4 logger    
p4 monitor    
p4 obliterate    
and deleting depots    
p4 open    
p4 opened    
and changelists    
p4 passwd    
and P4PASSWD    
setting passwords with    
p4 print    
p4 protect    
and Protections field    
required after server installation    
required when creating new depots    
p4 rename    
p4 reopen    
and changelists    
p4 resolve    
and P4DIFF    
and P4MERGE    
and P4PAGER    
p4 resolved    
p4 revert    
and changelists    
and p4 resolve -at    
p4 review    
p4 reviews    
p4 set    
p4 submit    
p4 sync    
and branch view    
p4 triggers    
p4 typemap      
and p4 add    
p4 unlock    
p4 user    
and JobView field    
and Reviews field    
jobviews, and p4 submit    
setting passwords with    
specifying username with    
p4 users    
p4 verify    
p4 where    
P4CHARSET    
P4CLIENT    
P4CONFIG    
p4d
-f option, and triggers    
logging errors to a file    
specifying journal file    
P4DEBUG    
P4DIFF    
and p4 diff    
not used in p4 describe    
not used in p4 diff2    
P4EDITOR    
commands affected by    
P4HOST    
P4JOURNAL    
P4LANGUAGE    
P4LOG    
P4MERGE      
batch file required on Windows    
P4PAGER    
P4PASSWD    
and p4 passwd    
P4PCACHE    
P4PORT    
P4ROOT    
and temporary files on Windows servers    
P4TARGET    
P4USER    
and pre-submit triggers on Windows    
P4Win
and comments in job templates    
tooltips and jobspecs    
PAGER environment variable
and P4PAGER    
password
maximum length of    
passwords
and P4PASSWD    
and users      
deleting    
resetting    
setting    
special characters in    
specifying on command line      
.pdf files    
.pdm files    
pending changelists    
editing description of    
listing    
listing files in    
Perforce API
and p4 fstat    
Perforce client
and P4PORT    
and temporary files    
Perforce client and server
obtaining version of    
Perforce file types    
Perforce Proxy
and P4PCACHE    
and P4PORT    
and P4TARGET    
Perforce server
administering    
and P4PORT    
and P4ROOT    
and temporary files    
checkpoints and journals    
installing securely    
stopping    
verifying integrity of    
Perforce syntax    
Perforce usernames
and passwords    
permissions
files, and p4 edit    
granting and denying    
required before accessing new depot    
setting in client workspace via file type    
populating depots    
port number
setting, on clients and servers    
positional specifiers    
POSIX$SHELL
and P4EDITOR on VMS    
.ppt files    
preserving modification times    
pre-submit triggers    
tips for creating scripts    
protections
and IP addresses    
granting and denying    
Protections field    
protections table    
example    
proxy
and P4PCACHE    
and P4PORT    
and P4TARGET    
PWD    
Python    

R

RCS file format    
RCS keyword expansion    
examples    
read access level    
registry
never stores plaintext passwords      
setting variables in    
registry variables
overriding settings of    
remote depots      
and protections    
removing files
permanently    
renaming files    
resetting passwords    
resolve
scheduling files for    
resolving files    
resource fork    
reverting changes      
review access level    
Reviews field
and p4 user    
use of    
revision
latest, specifying    
of file on current client    
of file, displaying    
specifying    
revision history
displaying    
obliterating    
revision ranges
and p4 changes    
and p4 files    
and p4 fixes    
and p4 integrate    
and p4 print      
and p4 resolved    
and p4 sync    
specifying    
revision specifiers    
and labels    
and p4 changes    
and p4 sync    
help on    
rmdir    

S

-s option
and p4 fstat    
formatting output for scripting    
scripting
and p4 dirs    
and p4 fstat    
and -s option    
and triggers    
and -x option    
-s and p4 fstat    
triggers, tips for creating scripts    
with Python    
-x option, example    
searching
for null job fields    
jobs, with jobviews    
security
and p4 protect    
server
administering    
and P4PORT    
and temporary files    
checkpoints and journals    
forking, and triggers    
installation, and p4 protect    
reclaiming disk space    
specifying error log file    
specifying journal file    
stopping    
upgrading    
verifying integrity of    
server root    
and temporary files on Windows servers    
server variables
listing    
setting    
setting environment variables    
for Windows services    
on Windows services    
shell
interpreting file specifications      
SHELL environment variable
and P4DIFF on Windows    
and P4EDITOR on Windows    
spaces
within filenames    
spaces and client workspaces
translated to underscores    
spaces in file names
quotes around    
spaces in filenames
quotes around, in views    
spaces in passwords
quotes around    
specification
job, displaying    
specifiers
positional    
revision    
specifying
default editor with P4EDITOR    
file types    
files for integration    
files, by change number    
files, by date and time    
files, by revision    
files, for integration    
files, latest version of    
program to display p4 resolve output    
revision ranges    
third-party diff programs    
third-party merge programs    
username with -u and P4USER    
standard input
reading from    
standard output
and p4 print    
status
of jobs, changing    
Status field
and p4 submit    
storage
of files in depot    
subdirectories
listing    
subgroups
and groups    
submitted changelists    
listing    
viewing    
submitting changelists    
submitting files    
super access level    
superuser    
and creating users    
and new server    
symbolic links    
on non-UNIX systems      
sync    
syntax forms
local, client, depot    
translating between with p4 where    

T

-t flag
and client workspace templates    
and file type    
target server
and Perforce Proxy    
template
jobs, modifying    
templates
client workspace    
temporary files
where stored    
text files    
timestamps
on DLLs, preserving      
TMP, TEMP    
tooltips    
translation
CR/LF    
triggers    
and Windows services    
passing arguments to    
server must be able to fork    
troubleshooting
local shell and file specifications    
type mapping    
typemap    
types
of files, changing    

U

-u flag
impersonating users with    
undoing file edits    
unicode      
UNIX
and linefeed convention    
changing default form editor    
line-ending convention    
unlocked    
unlocking files    
unresolved files
listing    
upgrading
from 98.2 or earlier    
USER
and P4USER    
user preferences
setting    
USERNAME
and P4USER on Windows    
users
and files, unlocking    
and forgotten passwords    
and groups    
and P4PASSWD    
and passwords        
changing with P4CONFIG and P4USER    
controlling access    
creating and editing    
deleting    
groups of, listing    
groups, granting access to    
listing    
listing with p4 reviews    
preventing others from editing files    
running commands as      
virtual, remote      

V

variables
environment, how to set    
overriding with global options    
registry    
server, listing    
server, setting    
verifying file integrity    
version
of p4    
of Perforce client and server programs    
vi
as default form editor, changing    
view
branch    
branch, and p4 diff2    
branch, and p4 integrate    
branch, and p4 sync    
branch, creating or editing    
client    
client, and p4 sync    
help on    
introduced    
label    
VMS
changing default form editor    

W

warnings
about counters and p4 review    
about p4 counters    
about p4 flush    
about p4 jobspec    
about p4 obliterate    
about p4 revert    
about pre-submit triggers    
superuser access and p4 protect    
wildcards
and p4 add    
and p4 integrate    
in jobviews    
in views    
listing users with    
specifying files with    
Windows
and linefeed convention    
batch file required for P4MERGE    
COMPUTERNAME as default client workspace    
default client workspace name    
default forms editor    
line-ending convention    
overriding registry variables    
registry variables    
services, and triggers    
setting passwords on    
setting variables for Windows services    
third-party DLLs      
workspace
client, alternate roots    
client, creating and editing    
client, listing    
files in, vs. have list    
write access level    

X

-x option
example with p4 diff    
reading from standard input    
.xls files    

Z

.zip files    

Perforce 2003.2 Command Reference
<< Previous Chapter
File Types
Table of Contents
Index
Perforce on the Web
Please send comments and questions about this manual to [email protected].
Copyright 1999-2003 Perforce Software. All rights reserved.
Last updated: 12/12/03