开发者

How to browse each version of each element archived?

开发者 https://www.devze.com 2022-12-24 17:29 出处:网络
I am looking for a command line either for an algorithm (script) which allows to browse a开发者_Python百科ll the versions of each of the elements archived in a VOB UCM or Base Clearcase.

I am looking for a command line either for an algorithm (script) which allows to browse a开发者_Python百科ll the versions of each of the elements archived in a VOB UCM or Base Clearcase.

The command find allows to browse each of the elements accessible from an existing view. But It does not thus allow to browse elements uncatalogued.

It is more complicated than the browse of a tree because it is a question of browsing at once the tree of archived elements (files and directory). As well as the tree of branches and versions of every element.


ct find -all -nvis -print|gawk "{print \"cleartool lsvtree \"$0}"|cmd

(windows syntax, note: some double quotes may be needed around the $0 is the file has space in it)

That should list all versions (with the -nvis option to list elements not visible from the current view).

Since a find -all list only one version per element, you have to pass it to a command listing all versions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号