问题
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