是否可以使 SVN 存储库中的文件夹指向另一个存储库中的文件夹?
我目前正在为 Maemo 5 开发一个非常小的开源项目。(即 粘滞便笺。)
我想合并 Hildon Extras 项目中的一些内容。
看起来他们没有二进制包,只有一个 SVN 存储库,使用它的开发人员只需将 Hildon-Extras 的源代码复制粘贴到他们自己的存储库中。
虽然我对此没有任何问题,但此方法的唯一问题是版本控制。如果我只是复制粘贴他们的源文件,我就无法知道他们何时更新它们。 (当然,除非我定期手动检查。)
所以,问题是这样的:有没有办法让我的 SVN 存储库中的文件夹指向其存储库中的源文件夹,以便它会自动更新其内容为我?
预先感谢您的帮助!
编辑:
Mwilson 建议使用 svn externals 就成功了! 谢谢!
有关外部的 TortoiseSVN 页面也给了我很多帮助。
I'm currently working on a very small open source project for Maemo 5. (Namely Sticky Notes.)
I would like to incorporate some stuff from the Hildon Extras project.
It seems that they have no binary packages, just an SVN repository, and the developers who use it just copy-paste the sources from Hildon-Extras to their own repository.
While I don't have any problem with that, the only issue with this method is versioning. If I just copy-paste their source files, there is no way I could know when they update them. (Unless I regularly check it manually, of course.)
So, the question is this: is there a way for me to make a folder in my SVN repository point to the source folder in their repository, so that it would automatically update their stuff for me?
Thanks in advance for your help!
EDIT:
Mwilson's recommendation to use svn externals just did the trick! Thank you!
The TortoiseSVN page about externals also helped me a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用外部定义。
You could use an externals definition.