如何使用 CCRC 获取旧文件版本? [英] How to use CCRC to get old file versions?
问题描述
我正在尝试使用 CCRC API 来获取例如特定文件的所有版本并获取一些旧文件版本.
I'm trying to use CCRC API in order to get, for instance, all versions for a specific file and get some old file version.
我尝试使用 CHILD_LIST、CHILD_MAP,尝试使用 CcFile.getVersion().getPredecessor() 然后使用 CcFile.doReadProperties(...) 但似乎位置偏远,然后无法使用例如 getClientPath() 获取文件.
I've tried to use CHILD_LIST, CHILD_MAP, tried to use CcFile.getVersion().getPredecessor() and then use CcFile.doReadProperties(...) but it seems that the location is remote and then is not possible to get the file using for example getClientPath().
我已经看到可以使用 CCRC 插件检索特定文件的所有版本并单击版本三选择特定版本.
I already saw that is possible to retrieve all versions for a specific file using CCRC plugin and select a specific version clicking in the version three.
有没有人有一些示例如何在不设置配置规范的情况下检索此版本?
Does anybody have some example how to retrieve this version without setting the config spec ?
tks克莱伯
推荐答案
CCRC CLI 在 7.X 中不是很完整,甚至是第一个 8.0.0.x.
The CCRC CLI is not very complete in 7.X, and even the first 8.0.0.x.
rcleartool 是完成了最新的 8.x 版本,并包含一个 rcleartool get
允许您访问您想要的任何版本.
rcleartool is completed with the latest 8.x releases, and included a rcleartool get
which allows you to access any version you want.
在如何使用 CCRC 获取原始文件版本?"中查看更多详细信息.
See more details at "How to use CCRC to get prievous file version?".
这篇关于如何使用 CCRC 获取旧文件版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!