ClearCase UCM: Get latest version from Dev-stream

江枫思渺然 提交于 2019-12-01 08:47:06

问题


I'm stuck over the config spec for a dynamic view.

I try to get the latest version of a folder of a UCM stream from the Dev-stream into another (Base) dynamic view.
My idea would have been to do a

element PathToFolder/... .../DEV-STREAM-NAME/LATEST

but that won't give me anything in the view.
The config spec that is automatically generated by UCM does not help me as it specifies a specific baseline and creates a branch once you check out a file (which I of course do not want, I only need read-access to the version).
Is it possible to access the latest version from the Dev-stream, or do I have to skip the folder altogether in the config spec and just copy it using the operating system (which would be possible but takes quite long as the folder might be quite large)?

Thanks for any answers and Best Regards


回答1:


You need to make sure the parent folders are selected as well:

element vob/... .../DEV-STREAM-NAME/LATEST
element vob/path/... .../DEV-STREAM-NAME/LATEST
element vob/path/to/... .../DEV-STREAM-NAME/LATEST
element vob/path/to/folder/... .../DEV-STREAM-NAME/LATEST
element * /main/LATEST

If one of the parent folder has no version in DEV-STREAM-NAME, but a version in the parent stream (like INT-STREAM-NAME), you would need to select that as well.

element vob/path/to/... .../INT-STREAM-NAME/LATEST


来源:https://stackoverflow.com/questions/17783985/clearcase-ucm-get-latest-version-from-dev-stream

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!