问题描述
我前段时间使用Clearcase UCM和ClearCase Explorer删除了一个文件(等效命令行名称为rmname)。现在,我需要查看该文件的内容,但是当然它没有显示在目录中。我如何获取文件的内容(即如何查看以前的目录版本-删除之前已存在的版本)?
您可以遵循类似于IBM技术说明 ,您可以在动态视图中直接访问它:
type M:\view\vob\directory @@ \main\4\< missing-element-名称>
另请参见
Using Clearcase UCM and ClearCase Explorer, I some time ago deleted a file (command-line equivalent would be rmname). I now need to see the content of this file, but of course it is not shown as being in the directory. How may I get at the file's content (i.e. how do Ilook at the previous directory version--the version that existed before the delete)?
You can follow a process similar to the IBM technote "Restore an element that has been rmnamed", which will allow you to find back the right version.
If you know the file name, you can search for its most recent version with:
cleartool find . -name "filename" -nvisible -print
If you are searching in a dynamic view, you should get a result like:
M:\view\vob\directory@@\main\4\<missing-element-name>
This is an extended path, which you can directly access in a dynamic view:
type M:\view\vob\directory@@\main\4\<missing-element-name>
See also "Get specific version of unloaded file with cleartool"
这篇关于ClearCase UCM:需要查看已删除文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!