Subversion has a nice way of including the content of one repository into another repository. This is useful e.g. when you have a repository with common routines that you want to use in multiple projects but you don't want to duplicate the common code in multiple repositories (for obvious reasons). Using You set The best way to explain this is using an example. Usually you would use just one external repository, but I'll use two in the example, just to show how to create a list. Let's assume that you have external subversion repositories You want $ cat >svn_ext_val.txtNow set the property on any directory already in subversion. In the example it's the current directory: svn propset svn:externals . -F svn_ext_val.txtNow when you do svn update, dir_of_repo_one will be created with the content of repo_one and dir_of_repo_two with the content of repo_two.
Voila! Pretty simple but you wouldn't know that just by reading the docs. |