learCase的check out递归实现
默认的clearcase在界面上没有递归命令,需要通过指令来实现。现在采用修改菜单的方式,
实现在IE中实现递归check out.
1、Start the clearmenuadmin.exe utility。
2、然后选择 左上角 "Object type" 窗口中的 the "directory" object.
3、然后选择 checked-in state.
4、In the "Available menu Choices" pane, click on the "new" button,
and enter the following field:
Menu Text: Checkout (recursively)...
Help Text: Check out the selected item recursively...
Command Type: Executable/Regentry
Command: Software/Atria/ClearCase/CurrentVersion/ContextMenus/CmdLineExe
Initial Directory:
Arguments: /c cleartool find $file -exec "cmd /c cleartool checkout -nc /"%CLEARCASE_PN%/""
Comment:
填好如上的信息后,需要注意的一点就是:
察看 注册表中 Software/Atria/ClearCase/CurrentVersion/ContextMenus/CmdLineExe ,
如果这个值是cleartool.exe, 需要把
Arguments: /c cleartool find $file -exec "cmd /c cleartool checkout -nc /"%CLEARCASE_PN%/""
删掉前面的/c cleartool,改成 find $file -exec "cmd /c cleartool checkout -nc /"%CLEARCASE_PN%/""
然后,在IE中,这个菜单命令就可以正常工作了
如果菜单中没有这个指令,有可能在VOB中表明这个目录是check out的,可以在ClearCase Iexplore中把这个目录
undo check out. 然后就可以对这个目录递归check out 了。