Managing your svn repository with external ones

So you finally have your own svn repository. But you need to use external code as well. And you want to keep track of changes in those external code. Then use svn:externals. This tells subversion there are external subversion repositories destined to blend into the current folder. I learned this from a script thanks to Wim Leers

First let's create an externals to a repository in the current directory.

svn propedit svn:externals .

If this fails configure an editor like this

export EDITOR=vi

Insert this line

which tells subversion that the directory

has a remote repository

Now run

svn up caffeine-hx

and there it is. Your remote repository in full.

Not sure if your settings are ok? Use on of the following commands

svn proplist
svn propdel
svn propedit
svn propget
svn propset

Add new comment