ClearCase,使用clearfsimport执行暴力更新 [英] ClearCase, use clearfsimport to perform brute force update

查看:62
本文介绍了ClearCase,使用clearfsimport执行暴力更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我稍微弄乱了我的观点(CC感到非常惊讶),并且我的子流可以满足我的大部分需求,但不是全部。我的父流需要更新,但是由于某些问题(也许是邪恶的双胞胎,我不知道),我不能这样做。

I've messed up my views a bit (big surprise for CC) and I have a child stream that has most of what I need, but not all. My parent stream needs to be updated, but I can't because of some issues (maybe evil twins I dunno).

是否有可能/明智地进行以下
1)清除父流
中的所有元素2)使用clearfsimport对子流
进行批量更新3)将子流交付给父级

Is it possible/wise to do the following 1) clear all elements in the parent stream 2) use clearfsimport to perform mass update on child stream 3) deliver child stream to parent

这当然取决于以下事实:从父级删除子流元素不会被删除。

This is of course dependent on the fact that child stream elements are not deleted when deleted from parent.

我应该清除两个视图的所有元素并开始过度?任何建议都将不胜感激。

Should I just clear out all elements of both views and start over? Any suggestions would be appreciated.

推荐答案

是的,您可以从任何想要的源向子流进行clearfsimport。

但我不建议从父流中清除(如 rmnaming中那样)所有元素,即使它没有 rmname 它们在子流中,例如我对您以前的回答问题详细信息

Yes, you can do a clearfsimport from whatever source you want to the child stream.
But I wouldn't recommend "clearing" (as in "rmnam'ing") all elements from the parent stream, even though it doesn't rmname them in the child stream, as my answer to your previous question details.

如果您有有效的来源(即,每个目录都包含所需的文件),则可以在以下位置将其清除fsimport到子流视图中:

If you have a valid source (ie some directory with every file you need), you can clearfsimport it to your child stream view, in order to be complete.

然后尝试交付并确定潜在的邪恶的双胞胎:您的传送将在目录合并阶段迅速停止,要求您在两个(名称相同)文件中进行选择:您将选择一个来自子流。

这两个流中同时存在的所有其他文件将按照该传递的预期更新其历史记录。

Then try the deliver and identify the potential evil twins: your deliver will stop quickly at the "directory merge" stage, asking you to choose between two (identically named) files: you will chose the one coming from the child stream.
All the other files present in both stream will see their history updated as expected by that deliver.

这篇关于ClearCase,使用clearfsimport执行暴力更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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