Create SVN patch after commit

Is it possible to retrospectively create a patch? The Tortoise SVN client that we use gives us the opportunity to create a patch instead of (or during) a commit.

I would like to work on the fix using the trunk, check it, and start the servers of all my tests and indicators to confirm that the fix is ​​acceptable. Then I would like to select several versions (if the first attempt to fix this only made us partially move) and create a patch file from files that have changed.

Then I can take the patch and apply it to several other branches. Is it possible?

+47
svn tortoisesvn
Aug 22 '12 at 11:30
source share
3 answers

Show log, select changes, right-click, "show unified diff".

+78
Aug 22 2018-12-18T00:
source share

If you have problems with paths, you can show diff for each file separately

+1
Jul 26 '13 at 13:33
source share

You can also use WinMerge for Windows if you want to compare two files from different branches:

  • Check each branch
  • Check two files to compare.
  • Compare via WinMerge
  • Then click "Tools" β†’ "Create Patch"

To this, you can create a patch for already committed files from different branches.

0
Aug 05 '14 at 7:20
source share



All Articles