3-way merge not working on beyond compare 4 with git
Asked Answered
I

2

7

I am unable to do a 3-way merge with beyond compare 4 to resolve any git conflicts. When there are conflicts I type

git mergetool

it opens a beyond compare tab but instead of a 3-way merge its a normal diff view.

The version of Beyond Compare is Version 4.1.3 (64-bit). The version of git is git version 2.7.1.windows.1 and I am on Windows 7. The relevant section of the .gitconfig is

[diff]
    tool = bc3
[difftool "bc3"]
    path = 'c:/Program Files/Beyond Compare 4/bcomp.exe'
[merge]
    tool = bc3
[mergetool "bc3"]
    path = 'c:/Program Files/Beyond Compare 4/bcomp.exe'
    cmd = 'c:/Program files/Beyond Compare 4/bcomp.exe' "$LOCAL" "$REMOTE" "$BASE" "$MERGED"

I had tried to follow the instructions given at http://www.scootersoftware.com/support.php?zz=kb_vcs#gitwindows but it did not solve the issue. Can you guys please help me with this? Thanks

Intrusion answered 29/3, 2016 at 4:0 Comment(2)
Did you use bc instead of bc3?Pteropod
@Pteropod I had tried that but did not workIntrusion
S
8

Are you licensed for Beyond Compare 4 Pro or Beyond Compare 4 Standard? Three-way merge is a pro only feature, if you have a standard license, it only supports 2-way compare.

Open Help > About Beyond Compare to display your license type.

If you have a standard license, you can upgrade by paying the difference in license price. Fill out the upgrade form on Scooter Software's website to upgrade a license.

If you are licensed for Beyond Compare Standard Edition but you want to evaluate Pro Edition features, you can place BC back into trial mode.

To restore trial mode, rename the file where your license key is saved. If you registered for the current user, it would be saved as something like C:\Users\username\AppData\Roaming\Scooter Software\Beyond Compare 4\BC4Key.txt. If you registered for all users, it would be in C:\Program Files\Beyond Compare 4\BC4Key.txt.

Close Beyond Compare, then rename the file to something like "BC4Key.back". Run Beyond Compare, then select About from the Help menu. Check Evaluate Pro Edition features. Restart Beyond Compare. When you are finished evaluating the Pro Edition, rename BC4Key.back to BC4Key.txt to restore your license.

Shea answered 29/3, 2016 at 15:7 Comment(1)
Yes that was the problem. I missed that completely. Thanks for the answer.Intrusion
R
1

Reinserting registration code worked for me: Help -> Enter Key... Then restart beyond compare, git mergetool opened in 3-way view (unlike before)

Renegado answered 19/9, 2019 at 10:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.