Adding packages from different SVN repositories in a single project
I am tryin开发者_运维技巧g to create a project whose source code comes from 2 different SVN repositories. When I do the svn co pathToRepoA currentDirectory
to checkout all the code from the 1st repo, it runs fine. Now, when I try to checkout some specific packages from the 2nd repo by doing
svn co pathToRepoB/src/main/java/somespecificpackage currentDirectory/src/main/java/nameOfNewPackage
into the same project, it gives me an error that the current directory is already a working directory of a different URL (which is an obvious error). How do I overcome this problem so that I can integrate code (some specific packages) from different repositories into a single project. Thanks!
Use svn externals
精彩评论