No announcement yet.

Using bcompare with svn on the Mac

  • Filter
  • Time
  • Show
Clear All
new posts

  • Using bcompare with svn on the Mac


    I would like to use bcompare 4.X on the Mac as my diff tool for my svn client.

    I followed the step detailed in the online documentation for Linux :

    Beyound compare launches correctly, but does not open the files passed by SVN.

    Are the arguments to use not the same on the Mac ?
    Or is there another issue ?

    Thanks very much,
    Nicolas Castagné

  • #2

    You'll want to follow the instructions we've gathered for OSX here:

    The first, and most important, step is to use the Beyond Compare menu -> Install Command Line Tools to get "bcompare" and "bcomp" installed on your system.
    Aaron P Scooter Software


    • #3
      Hello, and thanks for your answer Aaron.

      I had browsed the two pages, but they did not match.

      Indeed, seems that on the Mac I need to point to the "bcomp" command line, and not the "bcompare" command line (bcompare returns immediately).

      I ll update the thread "Using BC4 OSX with Version Control Systems" accordingly :



      • #4
        Oh, the thread is closed. I propose you update it with the following :

        Subversion (command line) on OS X

        Step 1/
        Install the command line tools, as explained at the top of the thread

        Step 2/
        Follow the explanation for "Linux" on :

        However, do not use the "bcompare" command line in the scripts you create.
        Use instead the "bcomp" command line (which seems to be the blocking command line for beyound compare on the Mac).




        • #5
          Thanks for testing that. Yes, in most cases bcomp is used/expected as it is designed to wait. It is actually an outlier to need bcompare for the Linux Subversion instructions. I've updated the thread with the instructions you recommend.
          Aaron P Scooter Software


          • #6
            I also got BC4 working with Subversion on my Mac OS X.

            I did make one minor change though:
            /usr/bin/bcompare "$6" "$7" -title1="$3" -title2="$5" -readonly

            was changed to the following as I like having the ability to make changes to the actual code in a diff tool (and this way it makes the SVN pane only readonly):
            /usr/bin/bcompare "$6" "$7" -title1="$3" -title2="$5" -leftreadonly


            • #7

              That's great, but be careful if you diff two older revisions (rather than a revision to local), as any edits would be to the temp file that SVN is currently showing.
              Aaron P Scooter Software


              • #8
                Good point however the ability to edit content in the right pane far exceeds IMHO making edits in the right pane that are not saved b/c one does not know about the tool they are using