You can use the New Stream command to add a stream to a depot. New streams can be one of three types:
• Dynamic. Dynamic streams change over time, when new versions are promoted from child workspaces or other dynamic streams. Dynamic streams also inherit versions from their parent stream.
• Snapshot. Snapshot streams are immutable: they capture the configuration of their parent stream at a particular time. A snapshot stream cannot be renamed or modified in any way (for example, nothing can be promoted to it).
• Pass-through. Pass-through streams are used to group their child streams. Any version promoted to a pass-through stream is automatically promoted to the pass-through stream's parent.Note: Gated and staging streams are special types of streams. Although they are displayed in the Web UI StreamBrowser, gated streams can be created only using the AccuRev desktop client or CLI; staging streams cannot be created explicitly. (AccuRev creates staging streams automatically as children of gated streams.) For more information, see Chapter 11, Using Streams to Enforce Process in the AccuRev Administrator’s Guide.When you add a stream to a depot, you have to specify its basis time. Among other things, the basis time affects whether or not a stream continues to inherit versions from its parent stream. There are three types of basis times you can assign to a new stream:
• None: No basis time. The new stream inherits the versions currently in its parent stream and continues to inherit subsequent versions that are promoted to its parent. This choice is disabled if you specified Snapshot for the stream type.
• Now: The basis time is set at the time the stream is created. The new stream inherits the versions currently in its parent stream but does not inherit any subsequent versions promoted to its parent. Streams with a Now basis are similar to Snapshot streams in this regard, but you cannot promote into a Snapshot. You can promote into a stream with a Now basis.
• As transaction #: The basis time is set to the time of the transaction number you enter. A transaction is the record of a particular change to the repository. The new stream inherits the versions that were in its parent stream at the time the specified transaction was created.
1.
3. Right-click the parent stream and choose New Stream from the context menu.Alternative: In the StreamBrowser™, click the New Stream button () on the toolbar.
5. Pick a stream type. See Adding a Stream to a Depot if you need help with this step.
6. Choose a basis time for the new stream. See Choosing a Basis Time if you need help with this step.
7. Click Ok.
Borland |