合并大写字母 [英] Merge arrow in clear case

查看:92
本文介绍了合并大写字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须递归合并从子分支到主分支的所有对象。我想通过从子分支到主分支的代码签入来手动合并,而不是在明显的情况下使用merge命令。
因此,在签入main分支后,我想递归地向我的所有对象绘制箭头

ic从子分支到主分支

I have to merge all objects from a sub branch to main branch recursively. I would like to merge manually by check in the code from sub branch to main branch instead of using merge command in clear case. So after the check in into the main branch I would like to draw arrow recursively to all my objects. ic from sub branch to main branch

我使用了此命令

cleartool mkhlink -unidir Merge <sub branch path>>@@/main/<<sub branch>> <<main brach path>>@@/main/LATEST 

,它仅绘制目录的箭头,而不是目录中所有包含的箭头。

请建议如何从子分支到主分支对象递归绘制箭头。
预先感谢

But when I dit it, it is drawing the arrow for the directory only not for all contains of the directory.
Please suggest how to draw the arrow recursively from sub branch to main branch objects. Thanks in advance

推荐答案

根据 合并手册页

cleartool merge -ndata -to aFile -version /main/a/SourceVersion /main/a/DestVersion

将绘制红色箭头,而不执行任何实际合并。

will draw a red arrow without performing any actual merges.

由于您已经在分支机构或UCM活动中进行了结帐,因此您需要做的是:

Since you have made your checkout/checkings in a branch or a UCM activity, what you need to do is:


  • 位于目标视图中(发生合并的位置)

  • 查询您为该合并所做的所有版本

  • 提取每个版本的文件

  • 提取目标版本

  • 计算源版本(例如/ main / aBranch / LATEST)

  • 执行 合并-ndata

  • be in your destination view (the one where the merge occurred)
  • query all the versions you made for that merge
  • extract the file for each version
  • extract the destination version
  • compute the source version (for instance /main/aBranch/LATEST)
  • do a "merge -ndata"

,它不是递归算法,而是枚举此合并中涉及的所有版本的枚举,以便绘制适当的红色箭头。

So, it is not so much a "recursive" algorithm, but rather an enumeration of all versions involved in this merge in order to draw the appropriate red arrows.

这篇关于合并大写字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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