Using SCPlugin with Authenticated Subversion Repositories on OS X

I’ve cracked the way in which subversion and scplugin works on a mac. its a bit of a pain initially, but once it works, you’re good to go. If you have an easier method of getting this working, let me know.

1. If the machine never had SVN installed, you’ll need to install it. Get a binary dmg from here:

http://subversion.tigris.org/project_packages.html

2. Get a copy of SCPlugin from here:

http://scplugin.tigris.org/

3. fire up terminal

4. add this line to ~/.bash_profile to add svn to your environment:

export PATH=/usr/local/bin:$PATH

5. enter the following to mark in the changes

. .bash_profile

6. Do a checkout using SCPlugin (or the command line, whichever you prefer)

7. Make a small modification (ie. modify a text file with some whitespace)

8. USING THE COMMAND LINE IN THE DIRECTORY WITH THE MODIFICATION:

svn ci -m "First Commit to cache authentication" --username "SVN USERNAME"

(where SVN Username is the username, ie. Joe Bloggs)

9. this will ask you for the user’s password. enter that, and your changes are committed.

10. Make another modification to the working copy (perhaps remove that whitespace)

11. USING SCPLUGIN, DO A COMMIT

12. This will throw a keychain message. Accept the addition to the keychain. This will cache the authentication which you used in step 8.

13. You can now use SCPlugin to commit etc. via Finder, without resorting to the command line each time.

phew.

One thought on “Using SCPlugin with Authenticated Subversion Repositories on OS X”

  1. Thanks for posting this. I just installed SCPlugin 0.7.1 and your instructions were exactly what I needed to get going. Your notes saved me hours of work!

Leave a Reply