Create the mainline stream

  1. In P4V, click Refresh, then select your new depot name (such as project1) in the Depot tab.

  2. Create a mainline stream in this depot of type stream by choosing File > New > Stream.

    Note

    You might need to restart P4V to show this option.

  3. In the Stream: New dialog,

    1. Set the Stream name to main.

    2. Set the Stream type to mainline.

    3. Click Browse and select the streams depot you created in P4Admin.

    4. Clear the checkbox for "Create workspace" because the default workspace name is not intuitive.

    5. Clear the checkbox for "Populate" because we will do that later, and click OK.

    Note

    This mainline stream is a starting point. Later on, you might want a development stream for files that will change a lot, as well as a release stream for files that are stable. In such a case, you might want to create additional streams such as:

    • //project1/dev

    • //project1/rel

    • //project1/virtualdev

    For more information, see Streams in Helix Core Overview.

  4. Refresh P4V and select View > Streams to see the newly created stream.

    Tip

    If your new stream is not showing, ensure that you have cleared all filters in the Streams view.