11.07.2015 Views

Perforce 2003.1 Command Reference

Perforce 2003.1 Command Reference

Perforce 2003.1 Command Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

p4 clientp4 clientSynopsisCreate or edit a client workspace specification and its view.Syntaxp4 [g-opts] client [-f -t template] [clientname]p4 [g-opts] client -o [-t template] [clientname]p4 [g-opts] client -d [-f] clientnamep4 [g-opts] client -i [-f]DescriptionA <strong>Perforce</strong> client workspace is a set of files on a user’s machine that mirror a subset of thefiles in the depot. The p4 client command is used to create or edit a client workspacespecification; invoking this command displays a form in which the user enters theinformation required by <strong>Perforce</strong> to maintain the client workspace.Although there is always a one-to-one mapping between a client workspace file and adepot file, these files do not need to be stored at the same relative locations, nor must theyhave the same names. The client view, which is specified in the p4 client form’s View:field, specifies how files in the client workspace are mapped to the depot, and vice-versa.When called without a clientname argument, p4 client operates on the clientworkspace specified by the P4CLIENT environment variable or one of its equivalents. Ifcalled with a clientname argument on a locked client, the client specification is readonly.When p4 client completes, the new or altered client workspace specification is storedwithin the <strong>Perforce</strong> database; the files in the client workspace are not touched. The newclient view doesn’t take effect until the next p4 sync.Form FieldsField Name Type DescriptionClient: Read-only The client workspace name, as specified in theP4CLIENT environment variable or its equivalents.Owner: Writable The <strong>Perforce</strong> user name of the user who owns the clientworkspace. The default is the user who created theclient workspace.Update: Read-only The date the client workspace specification was lastmodified.26 <strong>Perforce</strong> <strong>2003.1</strong> <strong>Command</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!