ClearCase快照视图未更新 [英] ClearCase Snapshot View Not Updating

查看:95
本文介绍了ClearCase快照视图未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我第一次使用ClearCase,在理解快照视图时遇到了一些麻烦.我有一个配置规范视图

I am using ClearCase for the first time, and am having a little trouble understanding snapshot views. I have a view with the config spec

element * CHECKEDOUT
element * /main/dev/LATEST
load "\project\dir1"
load "\project\dir2"
load "\project\dir3"

我在没有加载规则的动态视图中使用了相同的配置规范.我已经在"\ project \ dir1 \ subdir"中签入了一个名为"configSpecTest.txt"的文件,该文件显示在我的动态视图中.

I am using the same config spec with a dynamic view without the load rules. I have checked in a file called "configSpecTest.txt" into "\project\dir1\subdir", and this shows up in my dynamic view.

但是,致电后

cleartool update

,并被告知已成功更新,该文件不在我的快照视图中.我觉得我对快照视图的工作方式有根本的误解.谁能告诉我我要去哪里错了吗?

and being told it successfully updated, the file is not there in my snapshot view. I feel like I have a fundamental misunderstanding as to how snapshot views work. Could anyone please explain to me where I'm going wrong?

推荐答案

尝试使用如下配置规范:

Try with a config spec like:

element * CHECKEDOUT
element * .../dev/LATEST
element * /main/LATEST -mkbranch dev
load "\project\dir1"
load "\project\dir2"
load "\project\dir3"

您应该始终需要最后选择规则element * /main/LATEST,因为要加载/访问元素,您需要加载/访问其父元素,并且/projectdev中可能没有任何版本分支.

You should always need the last selection rule element * /main/LATEST because to load/access an element, you need to load/access its parent element, and it is possible that /project does not have any version in the dev branch.

当您的元素在动态视图中可见时,请尝试使用在问题中提到的原始配置规范,在另一个动态视图中查看该元素.

While your element is visible in your dynamic view, try and see if it is visible in another dynamic view with your original config spec mentioned in your question.

尝试使用动态视图和上述配置规范再次创建元素:这是为元素创建新分支的方法.

Try and create again your element with your dynamic view and the config spec mentioned above: that is how you create new branches for element.
See more at "ClearCase Branching using configspec"

这篇关于ClearCase快照视图未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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