It's all about the answers!

Ask a question

Importing multiple baselines into RTC


Jeremy Davis (11) | asked Aug 31 '10, 4:13 p.m.
I have multiple versions of source code that I need to import into RTC that we have received from an external vendor. The code is in a flat file structure and I wish to import this into the same RTC project. I was wondering what the best approach would be to do this or is the only thing that I can really do is just overwrite the files in my workspace and then commit the changes via the pending changes view. This seems rather tedious and appears that this could be prone to mistakes if I manually have to account for files that have been removed or renamed.

I am looking for something similar to clearfsimport in ClearCase in which this would be a fairly straight forward thing to do. I don't see that there is anything similar available for RTC and want to know how others have gone about this. Any help would be greatly appreciated.

Thanks,
JD

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Aug 31 '10, 6:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can script this by using the RTC scm command line.

Note that you would delete the contents of the snapshot, before copying
in the new baseline (so that you capture deletes properly).

But note that neither fsimport or RTC provides any magic to detect files
that have been renamed ... that will look like a delete/add.

Cheers,
Geoff

On 8/31/2010 4:22 PM, jdavis wrote:
I have multiple versions of source code that I need to import into RTC
that we have received from an external vendor. The code is in a flat
file structure and I wish to import this into the same RTC project.
I was wondering what the best approach would be to do this or is the
only thing that I can really do is just overwrite the files in my
workspace and then commit the changes via the pending changes view.
This seems rather tedious and appears that this could be prone to
mistakes if I manually have to account for files that have been
removed or renamed.

I am looking for something similar to clearfsimport in ClearCase in
which this would be a fairly straight forward thing to do. I don't
see that there is anything similar available for RTC and want to know
how others have gone about this. Any help would be greatly
appreciated.

Thanks,
JD

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.