$ export SVN_EDITOR=vimVim is my favourite editor, you can choose whatever editor you prefer. I have created an “externals” directory under the root repository, so that all externals will be stored there for easy management. Now create a new directory for you project, for my case, I run
$ svn mkdir http://example.com/repo/externals/blog -m "create blog project externals"Now checkout the externals directory
$ svn co http://example.com/repo/externals/blogChange to the new directory “blog” just created by the checkout
$ cd blogNow run the command to create external rules
$ svn propedit svn:externals .Now you can make changes to the externals of the current directory specified by ‘.’, you can specify a path-url combination per line, then save and exit your editor to finish the change. The path part comes first, and is relative to where your setting the external. Example of the format:
include http://example.com/repo/trunk/blog/include public_html http://example.com/repo/trunk/blog/public_html php_include http://example.com/repo/trunk/php_includeOnce your done adding externals, you can run “svn update” to actually pull down the external, you’ll need to commit to actually push the external property change to the server so anybody else working on the project gets it too.
$ svn update $ svn commit -m "Added external for blog project"There, any changes made to the other repository or path will come down when you do svn update. You can also commit changes within that external’s directory by just entering that and doing normal subversion commands. Happy subversion!!