Intersted in the contents inside the component rather than the history when I compare sometimes
Dear Technical support,
I would like to avail the facility in Jazz source control for comparing the contents of files rather than the histories (change sets) between two baselines.
A situation is there where we have two baselines : baseline 20 has the set of folders and files same as baseline 40, except that baseline 40 has some more extra folders. In this case, I would like to get the comparison done between the two baselines and report must be available stating the baseline 20 and 40 matches, but with baseline 40 having extra folders.
Please let me know the way to set the preferences for the above mentioned requirement asap.
Accepted answer
I don't think this is how Jazz SCM works -- it's about change sets, not file versions. If you compare two baselines, you should see indications of files that have been added, remove and changed, but it won't be a simple file inventory comparison. This article contains a nice discussion of "SCM archaeology" with RTC.
You might be able to create this report by using the API to retrieve the contents of each baseline (essentially the Show Repository Files action) and comparing them. Or perhaps using the SCM command line interface to retrieve each baseline's files to different temporary locations and then compare them.
Hmm, I may have found an SCM Command Line Reference that may help. In Table 14 they mention an "f for file system" option for the -I include argument (and the default behavior does not include f). Maybe give that a try. I am not certain that will work, but it looks like what you are asking for.
Comments
showing 5 of 6
show 1 more comments