[SVN] Revision 1137
chris at cjack.com
Thu Jun 2 07:23:33 UTC 2005
Ruby interface to the CocoaDialog progress dialog. Advantages:
• much more readable than the equivalent shell script
• no exposed implementation details -- insulates callers from CocoaDialog
$LOAD_PATH << ENV['TM_SUPPORT_PATH'] + "/lib"
target_path = ENV['TM_FILEPATH']
output_path = File.basename(target_path) + ".diff"
TextMate::call_with_progress(:title => "Subversion diff", :message => "contacting Subversion mothership", :output_filepath => output_path) do
# ...your commands here...
More information about the textmate-dev