Comparison script for BC4 with Mac Versions app

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • john_madden
    New User
    • Jan 2018
    • 1

    Comparison script for BC4 with Mac Versions app

    Sorry if this has already been asked, but if so I couldn't find it.

    I'm using Versions 1.4.0 (https://versionsapp.com) as my SVN client. I'm looking to see if anyone has installed BC4 on Mac as the comparison tool for Versions. I have tried installing a simple command line script:
    /usr/local/bin/bcomp "$1" "$2" "$3" "$4"

    into ~/Library/Application Support/Versions/Compare Scripts as Beyond Compare.sh, and doing a chmod -x on it. In Versions, a new item "Beyond Compare" appears in Preferences > File Comparison dropdown, but when I try to do a comparison, I nevertheless keep getting a message "Script not executable. Would you like to change its permissions?", and saying yes, doesn't help.

    btw, usr/local/bin/bcomp works fine from the terminal.

    Thanks for any help.

    John
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    Hello,

    First, are you currently registered for BC4 Std or Pro? You mentioned File Compare, but the argument list looks like it is defined for a Merge. You would need Pro edition to execute a Merge, and Std can execute a Diff.
    Should your script only contain "$1" "$2", and does Versions support acting as an external Mergetool? Does it use a different script for a Merge? BC4's compare only supports a 2-way (2 variable) compare; are you only selecting 2 files when executing the script from Versions.app?
    Aaron P Scooter Software

    Comment

    • Tomcraft
      New User
      • Feb 2020
      • 1

      #3
      I had the same problem. It worked using chmod a+x instead of just chmod +x on the script.

      Comment

      Working...