0

I'm confused about how to get Araxis Merge to make changes to the files in my repo. When I launch the application (in my case, from Tower, which is configured to use it) I see the expected comparisons, and can select which changes to move between the compared files. But in all cases the files I'm working on are (deeply buried) 'temp' files that are not part of my source tree. I see no way to save the selected changes into my repo.

How do I cause changes I've made to the temporary files I work on in Araxis Merge to apply to the corresponding files in my repo?

orome
  • 45,163
  • 57
  • 202
  • 418

1 Answers1

1

Official Help

In the official Tower Help there's a dedicated section for Solving Merge Conflicts which explains the process with pictures.

Detailed Explanation

Temp files are intended behaviour

Every diff tool gets it's files for comparison directly from Git itself. To work with them the diff tool needs to save them at some arbitrary place. As usual for temporary files most tools use the temp folder.

Apply changes

Tower waits for the mergetool to return a file-copy to use. Therefore everything you should need to do is save the resolved file at the place your tool suggests (CMD+S or CTRL+S as keyboard shortcut) and quit it afterwards.

Now the interface of Tower should show you your resolved file and end the merge conflict wizard.

What solved the problem finally

The questioner made sure the command line utilities for Araxis Merge are set up correctly by symlink them using Homebrew. The questioner disabled perform directory diff in the preferences screen of Tower.

Edit incorporates steps from the questioners comment

Samuel Herzog
  • 3,561
  • 1
  • 22
  • 21
  • That's exactly the behavior I'd expected; but it's not what I'm seeing. I have all the settings as specified. Is there something in particular that mediates that final step (either return of the save temp file to Tower, or the receipt of the file by Tower) that I might be missing, and that could fail (or be absent) without a warning? – orome May 19 '16 at 12:42
  • First of all, I'd try to find out if Tower or Araxis Merge is the "culprit". On the Tower Help page there's a section "Troubleshooting Problems" - have you tried this? – Samuel Herzog May 19 '16 at 15:31
  • Two things, in combination, worked for me. First, making sure the command line utilities could be found (the cleanest approach being [to symlink them suing Homebrew](https://github.com/caskroom/homebrew-cask/issues/8899)) and making sure *not* to check Tower's "Perform Directory Diff" (which, as implied by the `compare` cli help, does not save anywhere useful). – orome May 20 '16 at 20:20