Amir Rachum
Amir Rachum

Reputation: 79735

How to add a directory tree to a ClearCase repository in-place?

I previously asked this question regarding ClearCase, but it doesn't work when I have a private directory in a vob, and I want to add it recursively to the repository in-place. Is there any way to do that?

Upvotes: 2

Views: 353

Answers (1)

VonC
VonC

Reputation: 1329942

If you have a private directory, the nominal way would be to:

  • rename it first (still keeping it in its same parent directory)
  • use the new name of that directory as sources for your clearfsimport (that I describe in the SO question you mention in your question)

That is not always ideal, because of processes that could have handle on sole of the files of your private directory, but if this isn't the case, then you can use this process to quickly add your directory and all its sub-elements to ClearCase.

Upvotes: 1

Related Questions