ClearCase UCM:是否可以对任何给定基线有临时视图?

发布于 2024-12-06 05:55:45 字数 78 浏览 0 评论 0原文

是否可以在流(集成、开发或子级)中的任何给定基线(推荐或更旧)上打开视图(快照或动态,可能是只读)以执行某些任务,然后在完成后删除视图?如何?

Is it possible to open a view (snapshot or dynamic, maybe readonly) on any given baseline (recommended or older) in a stream (integration, development or child) for performing some tasks and then remove the view when done? How?

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

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

发布评论

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

评论(1

月下客 2024-12-13 05:55:45

要打开给定基线的视图,您实际上需要一个与以所述基线作为基础基线的关联的视图。

这意味着您需要首先对该流进行变基,即:

  • 并不总是理想的(因为您需要将所述基线与当前内容合并,并且这并不总是有意义)
  • 并不总是可能的(您只能对子流进行变基基线来自其直接父级)。

可能的做法是:

  • 获取已放置基线的流
  • 从该流创建子流,以所述基线为基础
  • 创建快照或动态视图 执行
  • 您的工作
  • 设置新基线,并交付它到其父流
  • 废弃该子流(如果需要,您可以删除您的视图)

注意:您可以使用配置规范创建一个基本 ClearCase 动态视图(即非 UCM),然后您可以根据需要进行更改,但是那不允许你签出并修改任何文件。
这只是可视化您选择的任何基线的便捷方式。

To open a view to a given baseline, you actually need a view associated to a stream with said baseline as a foundation baseline.

That means you need to rebase that stream first, which is:

  • not always desirable (since you would need to merge said baseline with current content, and that doesn't always make sense)
  • not always possible (you can only rebase a sub-stream with baselines coming from its immediate parent).

What is possible is to:

  • get the stream on which your baseline has been put
  • make a sub-stream from that stream, taking said baseline as the foundatio one
  • create a snapshot or dynamic view on it
  • do your work
  • put a new baseline, and deliver it to its parent stream
  • obsolete that sub-stream (and you can delete your view if you want)

Note: you could create a base ClearCase dynamic view (ie non-UCM) with a config spec you could then change as you want, but that wouldn't allow you to checkout and modify any file.
That would only be a convenient way to visualize any baseline of your choice.

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