I'd like to use my own diff when working in a clearcase snapshot view.
As far as I can see, there is no way to specify a diff tool when running "cleartool diff
", so I was thinking I could run something like "mydiff <predecessor file> <modified file in my view>
", but I don't know enough about ClearCase to be able to find the "predecessor file" to diff against.
Any way to do this?
Forgot to mention (until now, after reading the first two responses dealing with windows) that this is on Unix, and I am not allowed to muck with the ClearCase configuration.
I got another way working based on the suggestions here. I discovered the cleartool "get" command, so I execute this to get the previous version to a temp file:
cleartool get -to fname.temp fname@@predecessor
Then run my diff, and delete that file.
Thanks for all the suggestions.