So here’s the sitch yo:
You have kaleidoscope as your diff tool. You go to make a patch:
[pastacode lang=”bash” message=”” highlight=”” provider=”manual”]
svn diff > ~/Desktop/my-cool-diff.patch
[/pastacode]
Then you realize that it’s opening kaleidoscope instead and not exporting your diff to a file.
Well the problem is you’re using the wrong program. Do something like this:
[pastacode lang=”bash” message=”” highlight=”” provider=”manual”]
svn diff --diff-cmd /usr/bin/diff -x "" > ~/Desktop/modal-fix.patch
[/pastacode]
Now you’re using the right diff tool!
Then you can apply the patch like this:
[pastacode lang=”bash” message=”” highlight=”” provider=”manual”]
svn patch ~/Desktop/my-cool-diff.patch
[/pastacode]