How to add a directory tree to a ClearCase repository?

前端 未结 2 1326
眼角桃花
眼角桃花 2021-01-20 16:38

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 eve

2条回答
  •  有刺的猬
    2021-01-20 17:04

    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.

提交回复
热议问题