开发者

Can I diff streams in ClearCase?

Can I perform a diff between the latest versions of the files/directories (or perhaps the latest baselines) in two different streams that may reside in two different projects?

The two projects are basically branches of the same software and I need to di开发者_Go百科ff the source tree between the branches.


You can do a cleartool diffbl in order two diff two baselines produced on those two stream.
And that will only work if there is a common ancestor found in the history of baselines of said streams.

But for the latest versions of a stream (as displayed by their respective associated view)... the simpler way remain to use any thirdparty diff tool (winmerge, Beyond Compare, KDiff3, ...) and diff the view contents.

Creating baselines just for a punctual comparison isn't worth the effort and the added metadata created just for that.
Two snapshot views on two streams will be enough to have a stable content (as opposed to a dynamic view whose content might change dynamically at any moment), and you can use any diff tools on those snapshot contents.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜