joeleee / svnx

Automatically exported from code.google.com/p/svnx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow Kaleidoscope as Diff application

GoogleCodeExporter opened this issue · comments

I would like to use Kaleidoscope as my Diff app, but that isn't an option in 
svnX. Ideally, svnX should allow any arbitrary app to handle differences. In 
the mean time, just adding Kaleidoscope support would be nice.

Here is the help text from Kaleidoscope for setting up and using the 
command-line tool:

Kaleidoscope ships with a command-line tool, called ksdiff, which you can use 
to open files from the command-line or from a script.

Installation

Before you can use ksdiff, you need to install it from the Integration window.

To install ksdiff:

Choose Kaleidoscope > Integration... from the main menu
Go to the "Command Line Tool" section
Click "Install"

You can run ksdiff --help to get an overview of its options:

MacBook:~ john$ ksdiff --help
usage: ksdiff [--wait] [file ...]
Compare files in Kaleidoscope

Command line options:
 -w,  --wait    ksdiff keeps running until the tab is closed in Kaleidoscope 
    (can be used for e.g. git difftool)

Starting a Comparison with ksdiff

`ksdiff file1 file2 file3`
If you give ksdiff a set of paths as arguments, it will launch Kaleidoscope if 
it isn't open yet, and then create a new tab with those documents. If you 
supply more than 2 files as arguments, Kaleidoscope will open the File Shelf 
and display all the files.

Waiting Before Exiting

`ksdiff -w file1 file2`
If you use ksdiff in a script, it might be preferable to have ksdiff open until 
the comparison it started closes. This way you can remove temporary files you 
created after the comparison is done, or do some other action after you're sure 
the user has seen the comparison. This can be done with the -w or --wait 
command line switch.

Original issue reported on code.google.com by d...@danfulbright.com on 18 Jan 2011 at 10:38

Original comment by chris...@gmail.com on 14 Apr 2011 at 12:56

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
kaleidoscope is awesome

Original comment by imba...@gmail.com on 13 Jan 2014 at 3:44

agreed :-)

Original comment by m...@tcox.org on 18 Nov 2014 at 3:01