Work with streams on a P4 Server

P4 One provides limited support for streams: you can switch a connected workspace to a different stream, and integrate changes between streams. To learn more about streams, see Terminology.

You cannot create or delete streams in P4 One. Ask your P4 administrator to create or delete a stream.

Switch streams

When your workspace is connected to a stream depot, P4 One shows your current stream. You can switch your workspace to a different stream at any time.

  1. Select your stream information in P4 One to open the streams page.

    The active stream shows You are here.

  2. Select Switch on the stream you want to switch to.

You cannot switch streams if you have uncommitted changes in Current changes. Create a version or discard your changes before you switch streams.
You cannot switch streams if you have checked out files in a pending changelist. Submit, shelve, or revert the files before you switch streams.

After you switch streams, if your workspace is not up to date with the stream, P4 One opens a Sync window. Select Sync to download the latest files.

Integrate changes between streams

P4 One follows the standard P4 pattern for integrating changes between streams: merge down changes from a more stable stream, then copy up the merged state to that stream.

You cannot merge or copy changes between streams if you have open file changes in your workspace. Shelve, submit, or revert the changes before you integrate streams.

Merge down changes

Merge changes to bring changes from a more stable stream into your current stream. The green arrow between stream nodes represents the changes available to merge.

  1. On the streams page, select the green arrow between the two stream nodes.

    P4 One previews the changelists that the merge integrates into the stream.

  2. Select Merge.

    P4 One integrates the changes and automatically resolves the files that only one stream edited. If a conflict cannot be automatically resolved, P4 One prompts you to resolve it.

A merge opens the integrated changes in your default pending changelist. P4 One prompts you with a submit dialog so that you can submit the merge to the server.

Copy up changes

After you merge changes into a stream, copy the integrated state up to the more stable stream.

  1. Switch to the more stable stream.

    When the stream is up to date with your merged changes, the outgoing line to the child stream turns gray.

  2. Select the blue arrow leading from the child stream to your current stream.

    P4 One previews the changelists that the copy integrates into the stream.

  3. Select Copy.

    P4 One integrates and automatically resolves the changes. No conflicts are expected, because you resolved them during the merge.