A stream is a repository object that includes one or more components. Streams are typically used to integrate the work that is done in workspaces. Team members deliver their own changes to the stream and accept changes from other team members into their repository workspaces from the stream.
About this task
A stream can include several components. Any component in the repository can be made part of a stream, though typically the components in a stream have dependencies or functional relationships that make it sensible to group them. After you have created a stream, you can use the Stream editor to add components to it, remove them from it, or change the versions of one or more components in the stream.
- In the web client, in the upper left, click the Home Menu icon. Expand Change and Configuration Management and click a project name.
On the project page, click Welcome to Source Control page, click
Create a stream.
and, on the Note: Alternatively, click Source Control and, under Create, click Stream.
- In the New Stream Name field, enter a name for the stream.
- To change the project or team area that owns the stream, click Change Owner.
- To change the default visibility, click Change Visibility.
- Optional: In the Description field, enter a brief description for the stream.
Under Components, complete one of the following steps:
- To create a new component and add it to the stream, click the New icon .
- To search for existing components to add to the stream, click the Add icon .
- Optional: To add a flow target, in the Flow Targets area, click Add and complete the Select a Stream or Workspace dialog box.
- Optional: In the Auto-lock files field, enter file name patterns separated by commas to automatically lock the files when edited.
Tip: If you want a backup of a stream, you can create a duplicate stream. The duplicate stream contains the same components, flow targets, auto-lock file patterns, and change sets as the original stream.
To create a duplicate stream, in the stream editor, click the Duplicate stream icon , type a name and description, and click Save.
The duplicate stream contains the current versions of the components. To create a stream from a specific point in time, use a snapshot.Tip: If you have the administrative permissions, you can delete a stream in the stream editor by clicking the Delete Stream icon .
When you delete a stream, you confirm whether to create a backup snapshot that you can use to recover the stream contents, or to delete the stream without creating a backup.