Re: FileMerge substitution
Re: FileMerge substitution
- Subject: Re: FileMerge substitution
- From: garvan <email@hidden>
- Date: Wed, 11 May 2005 11:53:55 -0400
The solution I use to get CW to do diffs on the command-line might help.
Download osasubr to run applescript on the command-line (http://www.turbozen.com/mac/).
Save this line as a shell script (if you save it as foo.sh, execute with ./foo.sh file1.cpp file2.cpp):
osasubr ~/bin/DiffCodewarrior.scpt doDiff $6 $7
Save this as ~/bin/DiffCodewarrior.scpt:
on arg1, arg2)
try
set theAlias1 to alias POSIX file arg1
set theAlias2 to alias POSIX file arg2
on error errMsg number errnum
display dialog errMsg & return & errnum
end try
tell application "CodeWarrior IDE"
Compare Files theAlias1 to theAlias2
show
set frontmost of application to true
end tell
end doDiff
thanks
BBEdit worked
but CodeWarrior 8.3/9.5 didn't :-(
On May 11, 2005, at 1:05 AM, Chris Espinosa wrote:
On May 10, 2005, at 9:55 PM, Dmitry Markman wrote:
is it possible to tell XCode to use BBedit or CodeWarrior for file
comparison?
Open Xcode Preferences, go to SCM panel, you'll see a pop-up:
<pastedGraphic.png>
<text: Comparison Handling. View comparisons using: [File Merge ↕]
You can set that to BBEdit or Other...
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden