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
If you cannot open your PATCH file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a PATCH file directly in the browser: Just drag the file onto this browser window and drop it.
In the Patch section, click the executable link and then click Save on the File Download screen to save the executable to your server's hard drive. When the download completes, double-click the executable to launch it on the server. Click Finish once you are prompted that the update completed successfully.
A patch is a file that show the differences between two revisions or between your local repository and the last revision your repository is pointing. In order to apply the patch successfully, you must run the command from the same path where the patch was created.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With