How can I generate offline diff output between two views?

梦想与她 提交于 2020-07-19 07:06:08

问题


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.

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.


回答1:


"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)

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).

Or I will use git (created directly within the ClearCase views) to compare the two directories.



来源:https://stackoverflow.com/questions/3630453/how-can-i-generate-offline-diff-output-between-two-views

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