Reputation: 109
I have two streams
Int
|--> Dev
I want to make sure Dev
has everything similar to Int stream word to word.
I have already rebased Dev
stream from Int
stream, but I know its not going to make it exact replica of Int.
I know I should be using "clearfsimport
" command but I could not understand whats the syntax for it.
Please help me with the command using below assumptions, I am on solaris and will be using cleartool command line interface
/vobs/HowDoI
HowdoI_Int
Int
View name -> HowDoI_int_View
HowDoI_Dev
HowDoI_Dev
Upvotes: 1
Views: 3047
Reputation: 1324327
See "How can I use ClearCase to “add to source control …” recursively?" for an example of clearfsimport
syntax.
In your case, assuming both views are started, and the vob is mounted:
clearfsimport -preview -rec -rmname -nset /view/HowDoI_int_View/vobs/HowDoI /view/HowDoI_dev_View/vobs/HowDoI
Remove the -preview
when you think the command does what you think it should.
Note the -rmname
option in order to get a mirror image from Int to Dev:
Any element present in Dev
which are not present in Int
will be rmname
from Dev
, leaving it exactly as Int
(meaning without extra elements)
Error: Must be set to an activity in a UCM view.
That means you must set an activity first in the destination view (the one in which you are importing files):
cd /view/HowDoI_dev_View/vobs/HowDoI
cleartool mkact import_deom_int
Upvotes: 3