Subversion has a way of including the content of one repository in another repository.
This is useful e.g. when you have a repository with common code useful in multiple projects.
svn:externals you can tell subversion to fetch content of external repository into a given directory.
svn:externals property on an existing directory.
The value of this property is a space-separated list of: directory and repository.
Here's an example with 2 external repositories:
repo_one in directory
Create a text file with the value of
Each list item is in it’s own line, dir name is separated from repo path by whitespace e.g.:
$ cat >svn_ext_val.txt dir_of_repo_one http://svn.my.com/path/to/repo_one dir_of_repo_two http://svn.my.com/path/to/repo_two
Now set the property on a directory that is already managed in subversion. In our example it’s the current directory:
svn propset svn:externals . -F svn_ext_val.txt
From now on
svn update will create directory
dir_of_repo_one with the content of
dir_of_repo_two with the content of