Unable to view baselines/snapshot created through Automated builds
One answer
Comments
Thanks Geoffrey.
WRT the replace operation, in the Pending Changes view, right clicking on a workspace will give you a Replace option that lets you replace all components in the workspace in one operation (it will also add/remove components as required to match the snapshot).
WRT automating the baseline deliver operation as part of the build, the main problem with that occurs if someone delivers change sets to the stream while the build is in progress ... you can end up with conflicts that will block the deliver, and then users can get confused about why the baselines aren't in the stream. One way to avoid this problem would be to create the snapshot on the stream in the first place, and then set the build workspace to be that snapshot ... but this has the disadvantage that all baselines show up in the stream, even those for builds that have failed. Another way to avoid this problem would be to have a "successful build stream", which is only updated by the build when the build succeeds (avoiding the "changes delivered while the build is in progress" problem). You would use a "replace" to update the successful-build-stream with the content of the successful build snapshot (thus allowing you to "roll back" change sets, which is not something the "deliver" operation would allow).