Managing your svn repository with external ones
Submitted by clemens on Tue, 2009/02/03 - 9:24am
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 thisexport EDITOR=vi
Insert this line
caffeine-hx http://caffeine-hx.googlecode.com/svn/trunk/
[/highlightjs_code] which tells subversion that the directory
caffeine-hx
has a remote repository
http://caffeine-hx.googlecode.com/svn/trunk/
[/highlightjs_code]
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
free form: