I'd like to create a patch reflecting changes to an unversioned file. I have both "before change" and "after change" versions and Tortoise Diff is happy to compare them. Can I also make a patch reflecting those changes with Tortoise SVN?
+3
A:
I have TortoiseSVN installed and ff I select to unversioned files, I can select Diff from the context menu. This open WinMerge, where I can choose "Tools"->"Generate Patch" to create a Diff-file.
Update: Just tested without WinMerge. If you choose two files, Diff open TortoiseMerge, where you can choose "Edit"->"Create unified diff file".
Sven Lilienthal
2009-12-18 09:40:06
+3
A:
- In Windows Explorer right click on your svn working copy directory.
- Select TortoiseSvn -> Create Patch.
- Select 'Show Unversioned Files' checkbox.
- Select the files to include and press OK.
(this was with TortoiseSVN 1.6.5, Build 16974 - 32 Bit)
Ally Sutherland
2009-12-18 10:07:52
This will only create a patch againts current svn, not a patch between the two unversioned files, or not?
Sven Lilienthal
2009-12-18 14:21:26