How to add a directory tree to a ClearCase repository?

橙三吉。 提交于 2019-12-31 02:21:35

问题


I have a directory tree with sub-directories, and I want to add it to a ClearCase repository. Currently I need to rename the directory, use CC's mkdir, and so forth for every dir. Is there a way to do this automatically (maybe a ClearCase command I don't know about, or a script)?


回答1:


I would recommend using clearfsimport.
See:

  • "How can I use ClearCase to “add to source control …” recursively?".
  • "Creating a new subdirectory structure in ClearCase?"

What is nice with this script is that is will:

  • checkout the parent directories,
  • make the necessary mkdir for adding new directories
  • do the mkelem for adding new elements.



回答2:


Clearteam Explorer has a recursive add to source control, at least for web views - AFAIK



来源:https://stackoverflow.com/questions/3352366/how-to-add-a-directory-tree-to-a-clearcase-repository

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