简体   繁体   English

如何在命令提示符下运行mkelem命令

[英]how to run mkelem command in command prompt

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 我通过cleartool命令提示符执行了mkelem *命令,但是当我通过命令提示符(cleartool mkelem *)运行相同的命令时,它显示错误我该怎么办

the error is 错误是

V:\\Pold_Build\\CCAD_REPO\\CC_Training\\vivekananda\\guntur>cleartool mkelem -nc * Created element " " (type "compressed_file"). V:\\ Pold_Build \\ CCAD_REPO \\ CC_Training \\ vivekananda \\ guntur> cleartool mkelem -nc *创建的元素“ ”(类型为“ compressed_file”)。 cleartool: Error: Checked out version, but could not copy data to " " in view: I nvalid argument. cleartool:错误:已签出版本,但无法在视图中将数据复制到“ ”:我是无效参数。 Correct the condition, then uncheckout and re-checkout the element. 纠正条件,然后取消签出并重新签出元素。 cleartool: Error: Unable to check out "*". cleartool:错误:无法检出“ *”。

Don't use mkelem for multiple elements: use clearfsimport, as mentioned in " Creating a new subdirectory structure in ClearCase? ". 不要对多个元素使用mkelem:使用clearfsimport,如“ 在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. 但是,第一个视图中的任何新文件(非跟踪文件或私有文件)都将添加到目标视图的源代码管理中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM