问题描述
我负责几个极端的大型项目.这些项目也分为较小的del项目,有的项目一次作为大型项目交付.我遇到的问题是,当所有这些小项目都合并到我们的发行分支中时,我无法回滚1000个文件.我目前正在重新考虑我们的分支策略.现在,所有内容都将与标签合并.我们甚至还在考虑将其转储到发布分支中之前,将所有内容都合并到一个build-test分支中.
I take care of a couple of extremly large projects. These projects are also divided into smaller del-projects some are delivered as a large project at one time. The problem I am having is that when all these small projects are merged into our release branch its dam near impossible for me to rollback 1000's of files.I am currently rethinking our branching strategy. Everything now is being merged with a label. We are also merging everything to a build-test branch before we even think about dumping it into our release branch.
如果我需要基于标签进行回滚,什么是最好的方法?我有一些脚本,但无法正常运行..希望这里的一些ClearCase上帝可以尽快提供帮助!
If I need to do a rollback based on label what is the best way to do this? I have a few scripts but can't get this to work.. hopefully some ClearCase god here can help ASAP!
谢谢!
戴夫
推荐答案
如果您需要回滚到标签,则可以:
If you need to rollback to a label, you can:
- 创建动态视图
- 编辑其配置规范以选择所述标签
- 使用该动态视图作为 进入主视图(具有最新版本的视图)
- create a dynamic view
- edit its config spec to select said label
- use that dynamic view as source for a
clearfsimport
into your main view (the one with the latest releases)
clearfsimport -rmname
(镜像")将使用源中的文件来更新/添加/删除目标视图中的文件(此处,动态视图设置为标签)您要回滚).
A clearfsimport -rmname
("mirror") will update/add/remove the files in the destination view with the files from the source (which is, here, your dynamic view set to the label you want to rollback).
这篇关于通过大写标签通过标签回滚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!