我可以在 ClearCase 中区分流吗?

发布于 2024-12-07 05:08:23 字数 100 浏览 0 评论 0原文

我可以在可能驻留在两个不同项目中的两个不同流中的文件/目录的最新版本(或者可能是最新的基线)之间执行差异吗?

这两个项目基本上是同一软件的分支,我需要区分分支之间的源树。

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 diff the source tree between the branches.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丑疤怪 2024-12-14 05:08:23

您可以执行 cleartool diffbl 以便在这两个流上生成两个基线。
只有在所述流的基线历史中找到共同的祖先,这才有效。

但对于流的最新版本(由各自的关联视图显示)...更简单的方法仍然是使用任何第三方差异工具(winmerge, 超越比较, KDiff3, ...) 并比较视图内容。

仅仅为了准时比较而创建基线是不值得的,并且为此创建了添加的元数据。
两个流上的两个快照视图足以拥有稳定的内容(与内容可能随时动态更改的动态视图相反),并且您可以对这些快照内容使用任何差异工具。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文