如何在两个视图之间生成脱机差异输出? [英] How can I generate offline diff output between two views?
问题描述
我正在研究Clearcase中两个视图之间的不同文件。我需要生成输出,以便可以在没有互联网连接的情况下执行此任务。我想要的是运行一个命令,该命令以递归方式遍历每个视图,并为从视图A到视图B的每个更改生成合并/差异输出文件。这可以像合并一样工作,除了我实际上不想做
I am working on analyzing different files between two views in Clearcase. I need to generate output so that I can do this task without an internet connection. What I would like is to run a command that recursively walks through each view and generates a merge/diff output file for each change from view A to view B. This can work like a merge, except that I don't actually want to make any changes.
如何进行设置,以便在脱机时可以继续查看所有这些文件中的差异输出?我正在使用Clearcase,但是如果另一个工具可以比较两个目录结构也可以完成相同的工作,那也可以。
How can I set this up so that I can continue looking at diff output amidst all of these files while offline? I am using Clearcase, but if another tool can do the same work comparing two directory structures, that's fine, too.
推荐答案
在脱机时在所有这些文件之间进行diff输出吗?:听起来您在这里使用的是两个动态视图(确实需要与ClearCase Vob服务器建立网络连接才能显示任何文件)
"diff output amidst all of these files while offline?": it sounds as of you are using two dynamic views here (which do need a network connection with the ClearCase Vob server to display any file)
对于这样的任务,我切换到两个 快照视图 (至少将文件下载到本地磁盘上),然后使用任何 文件比较工具 (WinMerge,BeyondCompare,KDiff3)。
For a task like this, I switch to two snapshot views (which at least download the file on the local disk), and then use any file comparison tools out there (WinMerge, BeyondCompare, KDiff3).
或者我将使用git(直接创建(在ClearCase视图中))比较两个目录。
Or I will use git (created directly within the ClearCase views) to compare the two directories.
这篇关于如何在两个视图之间生成脱机差异输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!