I tried to create a patch by using TortoiseSVN -> Create Patch.. but it only allows me to retrieve one of the most recent revision.
I know that there is a way to create a patch from a set of revisions using a commandline. How do we do this?
Creating a Patch File First you need to make and test your changes. Then instead of using TortoiseSVN → Commit... on the parent folder, you select TortoiseSVN → Create Patch... you can now select the files you want included in the patch, just as you would with a full commit.
Creating a patch using WinMergeUse File -> Open... to open the two versions for comparison. This will give you a nice view of what you have changed. Then do Tools -> Generate patch .... In the dialogue box, make sure you select Style: Unified in the Format box.
Show log, select the revisions (including one more previous revision), right-click, choose "show unified diff". Then save that diff.
Check which revisions are compared in the generated patch file.
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