如何在Clearcase中检查合并? [英] How do you check for a merge in Clearcase?

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

问题描述

我试图弄清楚如何在Clearcase中查看文件的合并历史记录.我知道可以以图形方式完成,但是我需要将其返回到stdout.

I'm trying to figure out how to look at a file's merge history in Clearcase. I know it can be done graphically, but I need it returned to stdout.

ct lshistory <file>

返回文件历史记录,但是除非特别注明,否则您不知道将什么内容合并到什么内容中.我基本上有三个分支:main,int和dev.我正在尝试确定dev分支中是否有已合并并标记为int分支的版本.

returns the file history, but unless it's specifically commented you don't know what has been merged to what. I basically have three branches: main, int, and dev. I'm trying to determine if there are versions in the dev branch past what has been merged and labeled to the int branch.

推荐答案

这是有关查找合并超链接的信息:请参阅"

This is about finding the merge hyperlinks: see "How files and directories are merged"

find

The find and lsvtree -merge commands can locate versions with Merge hyperlinks.

-merge选项允许:

包括一个或多个合并箭头(合并类型的超链接)的末尾的所有版本.每个此类版本上的注释均指示相应的对象.

Includes all versions that are at the from-end of one or more merge arrows (hyperlinks of type Merge). Annotations on each such version indicate the corresponding to-objects.

您将在该线程中找到脚本示例,通常是关于查找合并在分支中的版本 not ,但是想法仍然相同.

You will find script examples in that thread, usually about finding versions not merged in a branch, but the idea remains the same.

这篇关于如何在Clearcase中检查合并?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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