ClearCase:是否可以选择性地交付或变基?

发布于 2024-12-12 07:11:06 字数 112 浏览 0 评论 0原文

  1. 当将流A传递到流B时,是否可以只将选定的元素(准确地说是目录)从A传递到B?
  2. 当从基线 B 变基流 A 时,是否可以仅将所选元素(准确地说是目录)从 B 变基到 A?
  1. When delivering stream A to stream B, is it possible only to deliver selected elements (directories to be precise) from A to B?
  2. When rebasing a stream A from a baseline B, is it possible only to rebase selected elements (directories to be precise) from B to A?

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

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

发布评论

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

评论(2

骄兵必败 2024-12-19 07:11:06

使用 ClearCase UCM:

  • 您所交付的是基线或活动,
  • 您所重新设定的基础只是基线。
    (并且只有来自直接父流的基线)。

因此,如果目录或元素是活动的唯一项目,并且该活动不依赖于其他活动(当已经完成向另一个流的交付时可能会发生这种情况:所有当前活动都通过技术“链接在一起”)基线),那么您可以仅交付这些项目(通过仅交付该活动)。

如果您的目录和文件只是源基线和您要在要变基的流上更改的基础基线之间的差异,则您可以仅对这些项目进行变基。

但事实是:使用 ClearCase 进行部分交付或变基是很困难的。

With ClearCase UCM:

  • what you are delivering are baselines or activities
  • what you are rebasing are baselines only.
    (and only baselines coming from the direct parent Stream, at that).

So if you directories or elements are the only items of an activity, and that activity doesn't depend on other activities (which can happen when a deliver to another Stream has already been done: all present activities are "linked together" by a technical baseline), then you can deliver just those items (by delivering only that activity).

If your directories and files are then only difference between the source baseline and the foundation baseline you are about to change on the Stream you are rebasing, you can rebase just those items.

But the fact is: it is difficult to make partial deliveries or rebases with ClearCase.

小嗷兮 2024-12-19 07:11:06

cleartool findmerge 正是您所寻找的。如果您的列表很长,您需要围绕它构建一个包装器(ANT/Perl)。

因此,转到目标流/视图上下文并运行 findmerge srcdir –type d –merge -print 来测试并将 -print 替换为 -exec,-gmerge, -abort 等等,根据需要。只需将 srcdir 替换为您的目录或脚本中的迭代列表/变量/数组即可。

要查找完整的详细信息,请参阅 http://www.ipnom.com/ClearCase-Commands/findmerge。 html

cleartool findmerge does exactly what you are looking for. You'd need to build a wrapper (ANT/Perl) around it if your list is long.

so go to the target stream/view context and run findmerge srcdir –type d –merge -print to test and replace -print with -exec,-gmerge,-abort etc. as you need. Just replace srcdir with your directory or an iterative list/variable/array in your script.

Find complete details look at http://www.ipnom.com/ClearCase-Commands/findmerge.html

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