仅将某些更改列表移动到新的 SVN 服务器

发布于 2024-08-21 14:05:52 字数 234 浏览 6 评论 0原文

我想迁移到新的 SVN 服务器。

在我当前的服务器上,我有很多非常旧的东西,我并不真正关心 - 我想将其移动到新服务器,但不移动任何历史记录。我那里有大量图像和内容,这将使我的夜间备份比需要的大得多。
对于这段代码,我假设我只是从旧服务器导出它,删除不应该存在的图像等,然后签入新服务器。

我确实有一些代码,我确实想保留其完整的历史记录。

如何仅对存储库中的部分项目进行转储?

谢谢

I want to move to a new SVN server.

On my current server I have a load of really old stuff in there that I don't really care about - I want to move it to the new server but not move any of the history. I have a load of images and stuff in there that will make my nightly backup a lot bigger than it needs to be.
For this code I assume I'll just export it from the old server, delete the images and so on that shouldn't be in there then check into the new server.

I do have some code in there that I do want to retain the full history for.

How do I go about doing a dump for only some of the projects in the repository?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

如痴如狂 2024-08-28 14:05:52

svndumpfilter 是通用答案对于这个问题。我自己从未使用过它,所以我无法为您提供任何语法示例,但本书的章节至少可以帮助您入门。

svndumpfilter is the general-purpose answer to that question. I've never used it myself yet so I can't give you any syntax examples, but the book chapter may get you at least started.

放飞的风筝 2024-08-28 14:05:52

我刚刚经历过这个并遇到了很多戏剧。这里介绍了整个过程,可能会减轻您的痛苦: http://www.troyhunt.com/2009/12/black-art-of-splitting-subversion.html

I've just gone through this and ran into a number of dramas. The whole process is covered here and might save you some grief: http://www.troyhunt.com/2009/12/black-art-of-splitting-subversion.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文