idbrii
idbrii

Reputation: 11916

Empty diff window with Apply Patch in TortoiseSVN

Steps:

  1. Use TortoiseSVN's context menu to select "Create Patch"
  2. On another machine do the same but select "Apply Patch" and select the file generated in step 1.
  3. A blank merge window is opened.

It looks like this:

Screenshot

The patch file is valid and I can use unix patch to apply it successfully (with some line-ending tinkering).

I'm on Windows 10 and TortoiseSVN/TortoiseMerge 1.9.5

Upvotes: 16

Views: 2238

Answers (2)

Sebastian
Sebastian

Reputation: 6057

I had the same problem and had to select TortoiseMerge for Settings > Diff Viewer > Merge Tool.

I previously configured an external editor here and then it did not show this patch window but only an empty merge tool. Maybe this feature does not work very well with external editors.

Upvotes: 0

idbrii
idbrii

Reputation: 11916

The problem was that TortoiseMerge was maximized. There's a floating window on the left.

Unmaximize the TortoiseMerge window and you can see the file selector window. You can select files in that window to see them in the diff view and there's buttons for applying the patch.

It should look like this:

Screenshot

Upvotes: 27

Related Questions