Contains a file name that contains other environment or registry variables for the client. The current working directory (returned by PWD) and its parents are searched for the file. If the file exists, then the variable settings within the file are used. The variable settings in the file must sit alone on each line and be in the form variable=value.
Used by p4 client? | Used by p4d server? |
Command-Line Alternative | Can be set in P4CONFIG file? |
---|---|---|---|
Yes | No | <none> | That would be silly |
P4CONFIG makes it trivial to switch Perforce settings when switching between different projects. As soon as you move to a directory within a different client workspace, your settings will change accordingly.
The variables that can be set within the P4CONFIG file are: