how to run mkelem command in command prompt

瘦欲@ 提交于 2019-12-01 09:57:30

问题


i execuated the mkelem * command through cleartool command prompt but when i run the same command through command promp (cleartool mkelem *) it shows error what can i do

the error is

V:\Pold_Build\CCAD_REPO\CC_Training\vivekananda\guntur>cleartool mkelem -nc * Created element "" (type "compressed_file"). cleartool: Error: Checked out version, but could not copy data to "" in view: I nvalid argument. Correct the condition, then uncheckout and re-checkout the element. cleartool: Error: Unable to check out "*".


回答1:


Don't use mkelem for multiple elements: use clearfsimport, as mentioned in "Creating a new subdirectory structure in ClearCase?".

clearfsimport -preview -rec -nset c:\sourceDir\ChildDirectory5 m:\MyView\MyVob\ParentDirectory

If those files are already in a view, use as a destination another (dynamic) view (with the same config spec)

Any file from the first view that was already versioned will be left unmodified in the destination view.

But any file that was new (and untracked or private) in the first view will be added to source control in the destination view.



来源:https://stackoverflow.com/questions/24730460/how-to-run-mkelem-command-in-command-prompt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!