The Blog of Curtis Chambers

SVN Externals

with one comment

Subversion LogoI just learned something about Subversion that I probably should have known a long time ago, as it would’ve saved me a ton of time in managing open source projects.  The svn:externals property allows you to link other repositories into your own repository, thereby making it so you don’t have to manually merge third-party code when it’s updated.  Unfortunately, this wouldn’t have worked when I was doing Drupal development as they are still stuck on CVS, but I think the majority of open source projects have moved to SVN by now.

The one thing lacking with SVN Externals is the documentation.  The official Subversion page about it doesn’t really tell you how to use it; it just glosses over it with a quick demo.  I personally found Matthew Weier O’Phinney’s blog post to be the best explanation of how to use it to its fullest extent.  I’m just glad I can use it to reference TinyMCE’s repository and not have to remerge all those directories with each new release!  It’s also great if you have common libraries shared among various projects in your own repository, as you can just keep the code in one place and reference it in each project.

About these ads

Written by Curtis Chambers

April 29, 2008 at 1:43 am

Posted in Programming

One Response

Subscribe to comments with RSS.

  1. Nice article. Thanks. :) Eugene

    Eugene

    October 21, 2008 at 8:21 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: