如果您使用的是动态视图,您应该直接探索 的扩展路径名以便testfolder
访问test.txt
.
cd m:\myview\myVob\path\to\testfolder
# In version 5 of testfolder, test.txt was still there
cd @@/main/5
# Note: test.txt is a directory! only LATEST is a file
type test.txt@/main/LATEST
OP补充说:
如果test.txt
从 移动testFolder
到testFolder2
,然后test.txt
签入新版本,怎么样?在这当我进入时testfolder@@/main/5
,test.txt@@/main/LATEST
是不正确的......
从技术上讲,这是邪恶双胞胎的情况:存在 2 个具有不同历史的同名对象(一个 in testfolder@@/main/5
,一个 in )。testfolder@@/main/10
您需要取回前者test.txt
(就像回滚文件一样),删除当前文件test.txt
并取回当前移至 Folder2 的旧文件。( cleartool move
)
cd testFolder2
cleartool checkout -c "move test.txt back to testFolder"
cd ../testFolder
cleartool checkout -c "get back test.txt from testFolder2"
cleartool rmname test.txt
cleartool move ../testFolder2/test.txt
cleartool ci -nc .
cleartool ci -nc ../testFolder2