Search code examples
tortoisesvndiffbeyondcompare

TortoiseSVN : Good 'patch file' viewer?


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


Solution

  • 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!