Before you can work in a stream, you must define a workspace associated with the stream. When you associate a workspace with a stream, Helix Server generates the workspace view based on the structure of the stream. Stream users never need edit the workspace view (and, in fact, cannot manually alter it). If the structure of the stream changes, Helix Server updates the views of workspaces associated with the stream on an as-needed basis.
Classic
Helix Server
users define a workspace by issuing the p4 client
command without passing the -S
option, and edit the
workspace view manually by editing the View:
field in the
client spec. See
Configure workspace views.
Your
Helix Server
administrator may already have configured a client workspace for your
computer. If so, the Client
field in the client spec -
displayed when you issue the p4 client
command —
contains this name.
If not, to create a workspace for a stream:
Issue the p4 client
command, using the
-S
option to specify the name of the associated
stream.
For example:
$ p4 client -S //JamCode/main
The workspace specification form is displayed.
Verify that your workspace has been created using p4
clients
.
For example:
$ p4 clients -S //JamCode/main
Now you can populate the mainline with files, as described in the next step.