Comparing two snapshots which are created before and after remove a component, the result shows no difference
I created a snapshot on a stream, then remove a component from the stream and created the second snapshot.
When I selected both the fist and the second snapshots, and run "Compare with each other", in the Change Explorer, the result is empty which means no difference.
But when I chose the first snapshot, and click "Compare with" and select the second snapshot, the result showed the component I removed.
Does anyone know why the "Compare with each other" can not show the difference? Thanks.
When I selected both the fist and the second snapshots, and run "Compare with each other", in the Change Explorer, the result is empty which means no difference.
But when I chose the first snapshot, and click "Compare with" and select the second snapshot, the result showed the component I removed.
Does anyone know why the "Compare with each other" can not show the difference? Thanks.
Accepted answer
Are you sure that you have selected the same "mode" in the Change Explorer? In particular, if the mode is "show change sets", you shouldn't see any differences. But if the mode is "show files", then you should see the fact that the component has been removed. (You set the mode of the view in the tool bar of the view). The reason change sets are not show for removed/added components is that this would logically require showing all change sets in the history of the removed/added component, which isn't what one normally expects from a "compare".
Comments
Thanks for your answer. After I selected the 'show files' mode, I can see the difference.
However when I compared the snapshots using the "Compared with" when selected the first snapshot and then second snapshot, I could still see the difference in "show change sets" mode.
Interesting ... it didn't do that for me in my testing. How was the addition/removal of the component displayed in "show change sets" mode?