How to use CCRC to get prievous file version?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 10:33:46
VonC

rcleartool has seen new commands with CC8.0.0.3 and CC8.0.4, but is still missing a 'get' command except for the very latest ClearTeam version (8.0.1: see the rcleartool list of commands).
I said as much in "How do I retreive previous or old version in CCRC 7.1.2".

With CCRC 8 (aka ClearTeam Explorer) supporting dynamic view, you can try and use version-extended path (or rcleartool get), but if you are talking about CCRC, you are likely to be with a ClearCase 7.2.x instead of 8.x.

A separate dedicated web view, with a config spec you can change remains for now your safest as in "available right now") option.


I'm writing code to compare my checkout file(some code is modified) with the latest version in clearcase. So I have to get the content of the previous version to compare with my checkout file.

That seems more a job for rcleartool diff -pred

-pre/decessor

Effectively converts the first pname argument into two names:

  • (1) the predecessor version of pname in the version tree;
  • (2) pname itself.

If pname specifies a checked-out version, the predecessor is the version from which it was checked out.

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