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.
2 answers
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".
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".
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"