与流清除案例集成视图同步 [英] Synchronize with stream clear case integration view

查看:71
本文介绍了与流清除案例集成视图同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的案例集成视图中,有一个与流同步选项,该选项有时被启用,有时被禁用。是什么决定了启用还是禁用此功能?另外,当我单击此按钮时,它似乎只是更新了集成视图。那么,当我们只需要更新集成视图时,为什么为什么需要一个单独的功能,例如与流同步呢?

On my clear case integration view there is an option 'Synchronize with stream' which is sometimes enabled and sometimes disabled. What governs if this is enabled or disabled? Also it seems when i click this, it just updates the integration view. So why we need a separate function like 'Synchronize with stream' when we can just update the integration view?

推荐答案

那个按钮是仅在视图的配置(即配置规范列出的基准列表)与流的配置不同时激活。

That button is only active when the configuration of your view (ie the list of baselines listed by your config spec) isn't the same than the configuration of your stream.

也是更新后,该视图只是视图的一个副作用。

对于快照视图(即磁盘上的视图):

The fact that is also update the view is only a side-effect of your view being a snapshot one.
For a snapshot view (ie a view on your disk):


  • 仅更新视图将仅基于该视图的配置规范(未更改)更新内容

  • 将视图与流同步将触发$ b $的更新将基于视图的 updated 配置规范(即,在读取关联的Stream的配置后自动为您重写的视图的配置规范)
  • b
  • updating only the view will update the content based only on the config spec of said view (unchanged)
  • synchronizing the view with the stream will trigger an update which will be based on the updated config spec of the view (ie the config spec of the view rewritten automaticaly for you, after reading the configuration of the associated Stream)

它更新您的集成视图的事实仅仅是因为您的视图会笔要与Integration Stream关联。

但是作为我先前对 ClearCase中的集成流与集成视图显示,可以有很多其他视图(与许多其他子流相关,也称为开发流)。

The fact that it updates your "integration view" is just because your view happens to be associated with the Integration Stream.
But as my previous answer on "Integration stream vs integration view in ClearCase" shows, there can be many other views (associated to many other sub-streams, also called "Development Streams").

注意:该按钮后面的cleartool命令实际上是:

Note: the cleartool command actually behind that button is:

cleartool -tag view setcs -stream.

如果在快照视图的根目录下执行:

If you execute it at the root directory of a snapshot view:

cleartool setcs -stream

它将触发更新(在更新配置规范后)

It will trigger the update (after updating the config spec)

这篇关于与流清除案例集成视图同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆