1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #1264 resolved

Beyond Compare isn't detected as merge/diff tool on 64-bit Windows

Tim Pietzcker
created an issue

I've noticed that BeyondCompare3 doesn't turn up in the diff/merge tool dropdown selector in the Hg Workbench on Win7 x64. The reason for that is that MergeTools.rc only knows how to find it on 32-bit Windows installations.

The following line needs to be added in the BeyondCompare3 section:

beyondcompare3.regkeyalt=Software\Wow6432Node\Scooter Software\Beyond Compare 3

(and for BC2, if anybody is still using that)

beyondcompare2.regkeyalt=Software\Wow6432Node\Scooter Software\Beyond Compare

With these additions, the tools are detected correctly.

Thanks for your consideration, Tim

Comments (11)

  1. Tim Pietzcker reporter

    (Reply via t...@pietzckers.de):

    Beyond Compare 3.2.2, TortoiseHg 2.1.3 on a clean install of Win7 Enterprise 64 Bit (and on an older install of Win7 Pro 64, I see the same thing).

    Strange.

  2. Tim Pietzcker reporter

    I wasn't at home in the last two days, so I could leave only a small reply. What I'm curious about now is how TortoiseHg finds Beyond Compare even without the "regkeyalt" entry. Could you check your registry and see if there is a key under HKEY_LOCAL_MACHINE/Software/Scooter Software/Beyond Compare 3? Because there isn't on my machine.

    Also, in my MergeTools.rc file (which came with TortoiseHg, and which I hadn't changed), most other Windows diff tools did have a regkeyalt entry, just not Beyond Compare. Is that different on your installation?

  3. Tim Pietzcker reporter

    Ah, perhaps that's the reason. Did you install BC3 "for all users" or just "for the current user"? Because I installed it for all users, and I only have the "HKEY_LOCAL_MACHINE" key (or, to be more precise, that's the only key that contains the "ExePath" info), which is (for whatever reason) only found in the "Wow6432Node" subsection of the Software branch.

  4. Anonymous

    I still have this problem, even though I just did a fresh install of BeyondCompare 3.3.3 and TortoiseHg 2.2.2. Any other ideas for resolving this problem?

  5. Log in to comment