To set up streams for the first time, you must create a stream depot and create and populate a mainline stream.
To create a stream depot:
Choose File > New… > Depot, specify a name for the stream depot, and click OK.
The Depot dialog is displayed.
To create the mainline stream:
Choose .
The Stream dialog is displayed.
Verify that your new mainline stream is displayed in the Streams tab. Note that the mainline stream is not displayed in the Depot tab until you populate it with files.
For more information, see Creating new streams.
To populate your mainline stream:
Right-click the top-level folder and choose Mark for Add….
P4V displays the Select Pending Changelist dialog.
Click OK.
In the Pending Changelists tab, verify that your files are listed in the default changelist, decorated with a red plus sign.
Right-click the default changelist and choose Submit….
The Submit Changelist dialog is displayed.
As an alternative, you can populate streams by integrating files from existing depot locations.
To verify that your files have been submitted, check the Log pane at the bottom of the screen and the left-pane Depot tab. If your submission succeeded, your files are listed in the mainline folder in your stream depot. Now you can branch the files in the mainline to development and release streams, edit files in those streams, and propagate changes among them.