boomto7 / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

DiffMerge has changed #143

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Fresh Install of DiffMerge 3.3.1 (without any prior versions having been 
installed)
2. Choose DiffMerge as Diff application in preferences.
3. Click on Diff button

What is the expected output? What do you see instead?
Expect DiffMerge to launch.  Instead get the error message: 
"/Applications/svnX.app/Contents/Resources/svndiff.sh: line 66: 
/usr/local/bin/diffmerge.sh: No such file or directory"

What version of the product are you using? On what operating system?
1.3.1 on Mac Snow Leopard

Please provide any additional information below.

DiffMerge no longer installs the diffmerge.sh shell script in /usr/local/bin
Here are the release notes: 
http://www.sourcegear.com/diffmerge/releasenotes/3.3.1.html

Original issue reported on code.google.com by czechtech on 15 Aug 2011 at 7:17

GoogleCodeExporter commented 8 years ago
I don’t think DiffMerge ever “installed” anything.
It’s up to the user (you) to copy the diffmerge.sh script from the DiffMerge 
disc image to the appropriate location.

I don’t know if there’s really anything I can do about this,
(other than making svnX check for the script when you change the preference).

Original comment by chris...@gmail.com on 15 Aug 2011 at 7:55

GoogleCodeExporter commented 8 years ago

Original comment by chris...@gmail.com on 1 Jan 2012 at 7:05

GoogleCodeExporter commented 8 years ago
I run into the same issue. I have OS Lion
svnx will look for the sh file at "usr/local/bin/"

so I located the sh file and made a copy into the path svnx is expecting the 
file to be. For me this worked:
cp /Applications/DiffMerge.app/Contents/Resources/diffmerge.sh 
/usr/local/bin/diffmerge.sh

Original comment by ricardo....@gmail.com on 19 Mar 2012 at 11:24

GoogleCodeExporter commented 8 years ago
Thanks! I have Mountain Lion, and apparently there the appropriate path is not 
/user/local/bin but instead just /user/bin. So pasting your command in terminal 
I got 'no such file or directory' error.

So here is what worked for me instead: 
cp /Applications/DiffMerge.app/Contents/Resources/diffmerge.sh 
/usr/bin/diffmerge.sh

(it complained about permissions, but with first doing sudo su and giving my 
computer password and then trying the above command it worked)

Hope this helps some others.

Original comment by wouters...@gmail.com on 31 Oct 2012 at 9:19