Wednesday, January 23, 2008

Dynamic View == Always up-to-date?

You may think that a dynamic view of a stream will always reflect the LATEST version of elements in the stream. Well, you may be wrong.

If you find out that you are still looking at an older version in a view, while there are newer versions of the element in the stream, don't be surprise. This can happen. One possible reason is that the stream has more than one views. When you use one of the views to rebase the stream from its parent stream, the config spec (yes, a UCM view still has a config spec) has changed, while the other views still refer to the old foundation baseline.

....
element "[39730511c62311d9847000018376dd1b=\MidTier]/..." CBFE14.5_2008_01_14 -mkbranch CBFE14.5_LinkRemoval
....

To synchronize the view with the stream, you can click the "synchronize with stream" button in the view property page, or run "cleartool setcs -stream" in command line.

3 comments:

Anonymous said...

I've seen this happening on dynamic view of integration stream (i.e. no parents). Synchronized through Windows GUI, so not sure what commands got called. Maybe even chstream –generate?

Li Qin said...

I highlighted the command in the the blog.

Thanks,

Li

sundlee said...

Thanks Li. Very good information. I have found the command, 'setcs -stream' to synchronize the config spec.