SVN内的SVN

我有一个简单的SVN项目,一切正常。 我想使用这个简单的项目中的文件夹中的另一个 SVN服务器的代码。

我该怎么做?

我希望能够稍后更新这个“其他”SVN服务器的代码。

svn co http://svnserverone.com/projects/trunk/ mjproject svn co http://anotherserver.com/whatever/trunk/ mjproject/path/module 

感谢您的时间和答案!

奥托

最简单的方法是使用svn:externals

由于垃圾邮件防护,我不得不为http://和其他服务器添加一个空间

 cd mjproject/path/modules svn propset svn:externals 'new_module_name http:// anotherserver.com/whatever/trunk/' . 

财产'svn:外部'设置'。

然后提交:

 svn ci -m "adding externals" 

然后做

 svn up 

参考文献: http : //beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/