Is there a way to compare more than two streams?
2 answers
What would you expect to see if you compare more than two?
If you compare two items, you see one result set of differences.
If you compare three items you would see three result sets of difference (one between each combination)
If you compare 4, you would see 6 result sets of differences and it is only getting worse. If you do the math it is growing with the square.
I don't think you would gain anything and I have yet to see a reasonable usecase, why pair wise comparison won't be enough, or what the desired outcome would otherwise be.
Three way compare, with the central one being the common ancestor is the most I have ever seen so far and that only in Clear Case and for one file element in merges, not for the whole configuration, as far as I remember.
Ralph, you are right that normally a user just want to compare two streams at a time.
Carmen, I do agree that occasionally I see the need to look at an artifact in various streams. For example, I may want to see a requirement that has branched into 2017, 2018, etc streams.
Stream2016 | Stream2017 | Stream2018 | Stream2019 | |
Requirement 1 | 4 | 4 | 4 | 4 |
Requirement 2 | 6 | 7 | 8 | 9 |
Requirement 3 | 5 | 5 | 5 | 5 |
Two months ago an IBM consultant said that they may consider this enhancement request.
Comments
Stephen,
as I already mentioned in my answer above, locating if a change set is in a stream or workspace or snapshot (with an arbitrary amount of items to look at) is available since RTC 4.0.x. The feature is called locate change set.
This is completely different from comparing multiple streams though. It only tells you that changes are in a specific configuration (or aren't).
And to make this totally clear, a requirement is implemented by a bunch of changes that are in a set of change sets. Today you might have to find the work items that implement that requirement. You can then feed the work items (hierarchy or flat, with the linked change sets) into the "Locate Change Set" query and basically find out if the changes are in a configuration you provide for searching.