[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

First (Scruffy) SVN GUI for Mac OS

From: Wilfredo Sanchez <wsanchez_at_mit.edu>
Date: 2002-08-16 22:12:43 CEST

   Mac OS X users, dig this.

   I have a GUI that works in Mac OS. There is a beautiful irony here,
and it's written 100% in the Bourne shell, with no GUI code at all.
Instead, it relies on support from existing applications.

   I have this app I wrote called DropScript, which turn shell scripts
into Cocoa applications that run the shell scripts. The spiffy thing
is that you can drag files onto the app icon and the script processes
the files. In order to make this SVN thing work, I added a feature
which allows these apps to export "applications services" to other
applications, and I wrote a tool (in sh also) which uses AppleScript to
script the Terminal app and has a calling interface somewhat like xterm.

   Anyway, you can now use Finder to do many SVN operations. For
example, make a new folder somewhere and pull down the
"Services->Subversion->Check Out Repository" menu, which will happily
bring up a Terminal window which asks for the repository name and a
subdirectory to drop it into.

   Or select some files in the WC and try "Services->Subversion->View
Changes (FileMerge)" to see the changes in your files using the rather
spiffy FileMerge application. Or get view in a diff file if you
prefer. Get status, logs, etc.

   It's rather basic in that it doesn't generally allow you to specify
options (eg. you can update, but can't specify the revision to update
to), but it's fairly useful and if we ever get something like Tk for
Aqua, we can add richer UI. But for now, it's a start.

   You can grab a dev version of DropScript here:


   It's a disk image which includes DropScript, example scripts
(including the SVN scripts) and premade applications from the example
scripts. Put the apps into ~/Applications and log out and back in.
You should see a Subversion menu (and maybe others) in Finder's
Services menu.

   It will also appear in the Services menu for any application that
declares it can send file references. There's aren't many that I can
find, but PathFinder (was SNAX), which is a Cocoa Finder-like app is an
example which works.

   A couple of screenshots are above as well, in case you wanna see it
first or don't have Mac OS X.

   I'm testing on 10.2, so it might crap out on 10.1, though I don't see
why it would, offhand. Source is in Darwin CVS.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 16 22:13:04 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.