Vixiom Axioms

January 2, 2008

Subversion with a custom port on OS X

Filed under: svn Alastair @ 2:59 pm

Setting up subversion to checkout and over a custom port number is one of those tasks that I do once every six months, and immediately forget, then I waste time a’Googling to find it again.

Open up subversion’s config file

mate /Users/myuser/.subversion/config

Then find the section marked [tunnels], and add a line naming your custom port (replacing ‘1234′ with the port number)

myproject = ssh -p 1234

Then when you checkout your project you replace svn+ssh with svn+myproject

svn checkout svn+myproject://myuser@mydomain.com/home/myuser/data/svn/myproject/trunk .

That’s it!

Digg! submit Subversion with a custom port on OS X to stumbleupon.com submit Subversion with a custom port on OS X to del.icio.us submit Subversion with a custom port on OS X to reddit.com Like this post? subscribe to the feed.

2 Comments »

  1. Short, clear and very useful! Thank you!

    Comment by jerome — February 1, 2008 @ 3:18 pm

  2. Helped a lot, thanks!

    Comment by Thiago — March 11, 2008 @ 9:38 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image

Powered by WordPress