ClearCase UCM:是否可以在任何给定的基线上拥有临时视图? [英] ClearCase UCM: Is it possible to have a temporary view on any given baseline?
问题描述
是否可以在流(集成,开发或子级)中的任何给定基线(建议或更旧)上打开视图(快照或动态视图,可能是只读的)以执行某些任务,然后在完成后删除视图?
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?
推荐答案
要打开给定基线的视图,实际上需要一个与流相关的视图,其中所说的基线作为基础基线。
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:
- 并非总是可取的(因为您需要将所述基准与当前内容合并,并且这并不总是很有意义)
- 并不总是可能的(您只能使用来自其直接父级的基线作为子流的基准。)
可能的方法是:
- 获取放置基线的流
- 从该流中创建一个子流,基线作为基础
- 在其上创建快照或动态视图
- 执行工作
- 输入一个新的基准,并将其交付给其父流
- 废弃该子流(并且您可以根据需要删除视图)
- 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)
注意:您可以使用配置规范创建基本的ClearCase动态视图(即非UCM)然后可以根据需要进行更改,但这不允许您检出和修改任何文件。
这只是可视化您选择的任何基准的便捷方法。
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.
这篇关于ClearCase UCM:是否可以在任何给定的基线上拥有临时视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!