Browsing Posts tagged SVN

Alright, so after trying to use my first solution: I decided terminal is faster. I will probably right some sort of plugin for the finder in the future, if someone doesn’t beat me to it.

Anyway, here is how I currently do SVN

Open Terminal

type cd then drag your SVN folder to the terminal and hit enter.

Most common svn commands:

svn status | grep “^\?” | sed -e ‘s/? *//’ | sed -e ‘s/ /\\ /g’ | xargs svn add

• recursively adds all files..

Adding Files: svn add –force ./* adds all new files in a directory.
Committing: svn commit -m”message” Commit Message is needed, or commit won’t always work
Deleting Files: svn delete file.name
Updating: svn up
File list: svn ls
Latest stats: svn info

For everything else, svn help will bring up more commands

svn help <command> will bring up help for that command. ^_^

When I upgraded from Leopard to Snow Leopard, my contextual menu for using SVN within the Finder died. So here is the first working solution I found. I’m not a fan of using apple script for SVN, but it was quick and easy. Tortoise SVN is a great solution for Windows, but only for Windows… They should make a mac version.

http://svn-finder.sourceforge.net/

Enabling the Apple Script Menu

1. Open AppleScript Editor (Located in /Applications/Utilities/

2. Hit Command + , to bring up the Preferences

3. Make sure “Show Script menu in menu bar” is checked

Installing the scripts

1. Download the scripts from the link above

2. From the Scripts menu in the menu bar, select “Open Scripts Folder” then “Open User Scripts Folder”

3. Make your way to ~/Library/Scripts/Applications/Finder if step 2 didn’t bring you there

4. Drag the downloaded scripts to the folder in step 3 and your done installing!

or, Alternatively, You can install the scripts to /Library/Scripts/SVN if you want all the SVN stuff to be in a sub menu.

Using SVN

The URL for your SVN account is http://USERNAME@SVN_ADDRESS

Terminal will then open and you will be prompted to type your SVN password.

Congratulations! you now have a GUI shortcut for using SVN in Snow Leopard!

Powered by WordPress Web Design by SRS Solutions © 2012 L. Preston Sego III Design by SRS Solutions