Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC unable to do a diff between 2 baselines imported from clearcase

1. Synchronize clearcase stream (STREAM_1, BASELINE_1) to RTC
2. RTC STREAM_1 gets created. We then create a new snapshot BASELINE_1 is created in RTC.
3. Synchronize clearcase stream (STREAM_2, BASELINE_2) to RTC
4. RTC STREAM_2 gets created. We then create a new BASELINE_2 is created in RTC.
5. We then create a new stream in RTC (STREAM_3) and the add the 2 RTC baselines BASELINE_1 and BASELINE_2.

When we do a diff between these 2 baseline in RTC it reports them as mutually exclusive. , esentially indicating the code bases are entirely different. A clearcase diff of the baselines report only the actual difference between the baselines.

Any suggestions on how to resolve this is appreciated.

0 votes



2 answers

Permanent link
The ClearCase Synchronizer keeps track of the ID of elements and components you have imported in a stream for re-use in another synchronized stream, but does not keep track of the ID of versions you have imported.  So when you create two new synchronized streams, that creates new versions for each of the initially imported files (whose predecessor is version-0).   So the behavior you saw is expected.  Just to confirm, when you do an actual "compare" of any two files in the two baselines, the RTC file compare operation should say "no differences between the two versions"

Note: If you had initialized the RTC stream of the second synchronized stream with the content of the RTC stream of the first synchronized stream before you imported any files from ClearCase, it would have detected that they were the same version, and the RTC compare would have said "no changes".

1 vote

Comments

So to be clear we would create the second synchronized stream, but before initiating the import of UCM baselines from ClearCase we would either set the component baseline or deliver from the first stream to create an initial state in the component for the second stream.

That is correct.


Permanent link
 Hi Praveen,  you might want to check that you didn't create 2 unique components with the same name.  An easy way to verify this would be to list the UUID's via command line like so:

D:\rtcinstalls\RTC-Client-Win-3.0.1.5\jazz\scmtools\eclipse>scm -u y list components JCBRM
Workspace: (1057:_txrFoJsgEeKAmaqeh8_gLw) "JCBRM" <-> (1041:_vmGHEEWhEeKP7ZphD52zrg) "BRM Stream"
  Component: (1043:_sh2S8EWhEeKP7ZphD52zrg) "Banking Logic"
  Component: (1047:_sobcEEWhEeKP7ZphD52zrg) "C# UI"
  Component: (1055:_spS-wEWhEeKP7ZphD52zrg) "Web UI"
  Component: (1053:_spFjYEWhEeKP7ZphD52zrg) "Prerequisites"
  Component: (1070:_mNLiMLioEeKIwpoTkK3mdw) "Build"
  Component: (1051:_so4vEEWhEeKP7ZphD52zrg) "Java UI"
  Component: (1049:_sorTsEWhEeKP7ZphD52zrg) "Database"
  Component: (1045:_soLkcEWhEeKP7ZphD52zrg) "Build"

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 09 '13, 5:35 a.m.

Question was seen: 6,229 times

Last updated: May 11 '13, 7:35 p.m.

Confirmation Cancel Confirm