加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂

查看完整版本: check in -cr [version has no data]有谁能帮忙解释一下?

rainyday 2008-6-17 16:44

check in -cr [version has no data]有谁能帮忙解释一下?

checkin -cr 是允许check in [b]version has no data[/b]有谁能帮忙解释一下?这种checkin有什么用处。

我发现在建好的view里存在这种version has no data 的文件,[b]能不能转换成有数据的文件?[/b]
因为做build的时候需要读这个文件,编译它。谢谢~

这种除了有意作这种version without data 的checkin ,还有什么可能会产生这种version without data 的文件。
可以 cleartool describe -long 文件名@@版本信息 查看该文件属性

checkin  命令
–cr (For derived object checkin)
Checks in only the configuration record for the specified derived objects. Each new DO version will have a configuration record, but no data. You can use many cleartool commands with such DO versions, such as catcr, diffcr, and mklabel (but not lsdo). DO versions are also visible when you use the ls command. However, a version created with this option cannot be opened or executed, because there is no data.

Checkin of derived objects
(Dynamic views) You can check in a derived object to make it a version of an element (a DO version). By default, both the data and configuration record of a derived object are checked in. To save disk storage, you can use the –cr option to check in only the configuration record, not the data. Checking in a nonshareable DO converts the DO, its sibling DOs, and its sub-DOs to shareable DOs.

[[i] 本帖最后由 rainyday 于 2008-6-17 17:17 编辑 [/i]]

among 2008-6-17 23:09

如果这个文件很大,大到几百m或上g,你就明白为啥要使用ci -cr 了。

rainyday 2008-6-18 13:50

to among
谢谢你的回复。明白你的意思了。
现在我遇到的问题是,这个文件是不能被打开的。这种version without data 文件能不能被转换成正常的有数据的文件呢?
因为view里存在这种文件,是编译不过去的。
页: [1]
查看完整版本: check in -cr [version has no data]有谁能帮忙解释一下?