Need Command line for label difference

若如初见. 提交于 2019-12-02 02:37:20
VonC

If you know the branch in which the labels have been applied, you can use the extended pathname, following the rule of version selector:
(See about the version-extended path)

cleartool diff myFile@@/main/myBranch/MY_LABEL1 myFile@@/main/myBranch/MY_LABEL2

if you don't know their full extended pathname, you need first a find, in any view (snapshot or dynamic), which visualize the file (at whatever version).

cleartool find myFile -ver "lbtype(MY_LABEL1)
  File@@/main/myBranch/MY_LABEL1

cleartool find myFile -ver "lbtype(MY_LABEL2)
  File@@/main/myBranch/MY_LABEL2

Once you have the full extended pathnames, you can use the cleartool diff.

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