It's all about the answers!

Ask a question

Duplicate stream vs. create stream from snapshot

Mickey Roash (9021616) | asked Sep 24 '12, 3:14 a.m.
edited Oct 12 '17, 12:37 p.m. by David Lafreniere (4.8k7)


Is their any difference using "duplicate" stream then create stream from last  release (e.g. from 4.0 to 4.0.1) snapshot?

When I use duplicate, the components keep their initial baseline  version 1 , does it matter? Does the stream need to contain the components baseline from the last release?


Accepted answer

permanent link
Michael Valenta (3.7k3) | answered Sep 25 '12, 9:31 a.m.
Having an older baseline as a basis for your stream should not affect performance when showing the history of a file or component but may have an impact on the performance of comparison operations (although in most case, it shouldn't).
Mickey Roash selected this answer as the correct answer

2 other answers

permanent link
Michael Valenta (3.7k3) | answered Sep 24 '12, 2:08 p.m.
If you run the duplicate action on a stream, the result will be a new stream that has the same components with the same history as the source stream. Also, each component will have the same basis (i.e. most recent baseline) as the corresponding component in the source stream. However, the baseline history is not transferred.

If you create a stream from a snapshot, the history and basis for each component will be determined from the snapshot.

So, the answer to your question is that these there is a difference between these two operations although the results could end up being the same if the source stream matched the snapshot exactly.

permanent link
Mickey Roash (9021616) | answered Sep 24 '12, 5:31 p.m.
Hi ,
In my case the stream components are contain the initial version baseline 1 ,although  the last snapshot contain a far more advance baseline version ( above 100 ) .
we used duplicate action on a stream  from release 1.0 to 4.0 ,so the  components baseline version are stayed version 1 in the streams versions .
how dose it impact the history view of the files ?

Dose each stream  should contain component baseline version from the last snapshot of the release ?
stream 1.0 will contain  component baseline version 1 ,the last snapshot contain component baseline version 30
stream 2.0 will contain  component baseline version 30, ,the last snapshot contain component baseline version 80
stream 3.0 will contain  component baseline version 80


Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.