2

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.

RMorrisey
  • 7,637
  • 9
  • 53
  • 71

1 Answers1

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks! I figured out that I could do it using KDiff3 + snapshot views after talking with my co-worker. This is what I ended up doing. (KDiff3, incidentally, has much nicer output for what I was doing than the default clearcase diff tool, though it takes a little getting used to.) – RMorrisey Sep 03 '10 at 06:13
  • @RMorrisey: and don't forget you ca use custom diff tools with ClearCase. See http://stackoverflow.com/questions/375398/any-way-to-use-a-custom-diff-tool-with-cleartool-clearcase/375437#375437 – VonC Sep 03 '10 at 06:18