Forcing a view in clearcase to equal parent stream

杀马特。学长 韩版系。学妹 提交于 2019-12-14 03:58:56

问题


I have a clearcase view which I have not updated in quite some time. It has some view private files and I am sure a lot of other things as well. Is there anyway I can delete all the content of the view and force clearcase to give me everything again?

When i try to build the project from my view (After a rebase) I get a lot of build errors, but if I build the project from the actual stream, I get no build errors at all, so I am guessing my view is a bit messed up, and as I have no files I need to keep there, i would very much like to just reset it.

EDIT: I am using a snapshot view


回答1:


First of all, you need to make sure that that your config spec reflect the config of your UCM Stream.

If we are talking about a snapshot view, simply delete everything in it (except the hidden view.dat file), and type (at the root directory of your snapshot view):

cleartool setcs -stream

That will force the view to:

  • rewrite its config spec in accordance with its associated Stream
  • launch an update of your snapshot view.


来源:https://stackoverflow.com/questions/9428274/forcing-a-view-in-clearcase-to-equal-parent-stream

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!