看不到目录/无法取消选中

时间:2011-07-30 15:16:27

标签: clearcase

当我做“ct lsco -a”时,我可以看到我有三个结账。但是它们没有显示在xclearcase中,并且从命令行看不到目录。

ct lsco -a | grep hendrixjl
--07-29T15:32  hendrixjl  checkout directory version "/vobs/CORE/CORE_APPS/src/mapmgr_decoupled@@/main/rel_core_0.5.0.0__int/fea__cr_54__0.5.0.0_decouple_map_manager/3/icondetails_decoupled" from /main/rel_core_0.5.0.0__int/fea__cr_47__0.5.0.0_ui_decouple/0 (unreserved)
--07-29T15:32  hendrixjl  checkout directory version "/vobs/CORE/CORE_APPS/src/mapmgr_decoupled@@/main/rel_core_0.5.0.0__int/fea__cr_54__0.5.0.0_decouple_map_manager/4/overlays" from /main/rel_core_0.5.0.0__int/fea__cr_47__0.5.0.0_ui_decouple/0 (unreserved)
--07-29T15:32  hendrixjl  checkout directory version "/vobs/CORE/CORE_APPS/src/mapmgr_decoupled@@/main/rel_core_0.5.0.0__int/fea__cr_54__0.5.0.0_decouple_map_manager/4/overlays/main/rel_core_0.5.0.0__int/fea__cr_54__0.5.0.0_decouple_map_manager/1/images" from /main/rel_core_0.5.0.0__int/fea__cr_47__0.5.0.0_ui_decouple/0 (unreserved)
[hendrixjl@BA-JBCP-HENDRIX CORE]$ cd /vobs/CORE/CORE_APPS/src/mapmgr_decoupled
[hendrixjl@BA-JBCP-HENDRIX mapmgr_decoupled]$ ls
Makefile  ascope_translator  common_decoupled  displaySA_decoupled  filters  mgr_decoupled  unit_test
[hendrixjl@BA-JBCP-HENDRIX mapmgr_decoupled]$ ct unco .
cleartool: Error: No branch of element is checked out to view "cc-svr:/data/cc_store/viewstore/hendrixjl/fea__cr_47__0.5.0.0_ui_decouple__hendrixjl_view.vws".
cleartool: Error: Unable to find checked out version for ".".
[hendrixjl@BA-JBCP-HENDRIX mapmgr_decoupled]$ ct unco icondetails_decoupled
cleartool: Error: Element name not found: "icondetails_decoupled".
[hendrixjl@BA-JBCP-HENDRIX mapmgr_decoupled]$ 

1 个答案:

答案 0 :(得分:2)

这些目录在父目录中签出,这些目录在当前视图中不可见/未被选中,可能是因为它们已被删除(rmnamed)。

这意味着无法从此视图访问签出的版本。

但是,一个潜在的解决方法是从GUI“查找结账”窗口中搜索相同的已检出目录:您可以选择已签出的元素(文件或目录)并选择“撤消结帐”。

另一种解决方法是在动态视图中转到该目录的完整扩展路径:然后您将能够“cleartool unco”目录。

cd /vobs/CORE/CORE_APPS/src/mapmgr_decoupled@@/main/rel_core_0.5.0.0__int/fea__cr_54__0.5.0.0_decouple_map_manager/3
cleartool unco icondetails_decoupled

在任何情况下,只要你没有看到一个元素,首先要做的就是该元素的父目录的版本树,以便检查缺少的元素是否已被删除在所述父目录的一个版本中使用rmname。