sky01126 / svnx

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

Allow Kaleidoscope as Diff application #127

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
kaleidoscope is awesome

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

GoogleCodeExporter commented 8 years ago
agreed :-)

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