Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have simple project that is in SVN and everything works fine. I want to use code from another SVN server in folder inside this simple project.

How can I do this?

I want to have the ability to update code from this "other" SVN server later on.

svn co mjproject
svn co mjproject/path/module

Thanks for your time and answers!


share|improve this question
if your going to use externals you should look into branching your code and using a branch as external, so that in case you go rewriting the whole thing it doesn't affect you code that relies on the previus version. – Gabriel Solomon Feb 24 '10 at 12:43
up vote 12 down vote accepted

The easiest way to do this is using something called svn:externals

I had to add a space to the http:// and the anotherserver due to the spam protection thing

cd mjproject/path/modules
svn propset svn:externals 'new_module_name http://' .

property 'svn:externals' set on '.'

then commit:

svn ci -m "adding externals"

then do

svn up


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.