TortoiseSVN : Good 'patch file' viewer?

mishal153 picture mishal153 · May 24, 2010 · Viewed 16.4k times · Source

The default patch file viewer is messy (ie. no side by side diff view etc). I tried setting the path of beyondCompare exe in "Settings->Unified Diff Viewer->custom", but beyond compare also behaves same as default diff tool. Is there a way to atleast allow side by side diff in patch files ? If so, what is the method ? My aim is to allow emailing of changes so that they can be reviewed before I commit them :)

Mishal

Answer

Dean Harding picture Dean Harding · May 24, 2010

I've never found any, but the solution that I usually use is to simply apply the patch file to a pristine checkout of the tree, and then do a "regular" diff (my preferred tool is diffuse) to review the changes in context.

The problem with "raw" patch files is that they only provide a few lines of context before and after the change, which often isn't enough.

If you don't like the patch, simply revert the changes and don't commit!