将大型 CVS 存储库迁移到 SVN

发布于 2024-08-13 18:09:45 字数 188 浏览 15 评论 0原文

我有一个大型 CVS 存储库模块(~2.2GB 的 CVS,并且已经进行了 10 年的积极开发)。我正在尝试将其迁移到 SVN,以便将其托管在 Google Code 上,该代码大约有 1GB 的限制。

有没有办法进行部分迁移,我只迁移去年的更改?文档中的 cvs2svn 和 cvs2ps 讨论通过修剪文件夹而不是通过修剪历史记录进行部分迁移。

I have a large CVS repository module (~2.2GB of CVS and has 10 years of active development). I'm attempting to migrate it to SVN in order to host it on Google Code, which has about 1GB limit.

Is there a way to do a partial migration, where I only migrate the last year worth of changes only? cvs2svn and cvs2ps in the documentation discuss partial migration by prune folders not by pruning history.

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

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

发布评论

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

评论(1

零度° 2024-08-20 18:09:45

cvs2svn 没有丢弃部分 CVS 历史记录的功能。但是您可以转换整个历史记录,然后使用“svnadmin dump”和“svnadmin load”在转换后丢弃部分存储库:

svnadmin dump -r R:HEAD /path/to/full/repo | svnadmin load /path/to/abbreviated/repo

其中“R”是您要保留的第一个修订版的 SVN 修订版号。

但不要丢弃有一天可能会错过的历史记录,看看是否可以让 Google 提高项目的限制

问题跟踪器附件和 Subversion 存储库总大小都有磁盘空间配额限制
您可以创建的项目总数受到限制。如果您达到这些限制,请通过我们的联系我们
Google 网上论坛或电子邮件[电子邮件受保护]直接讨论情况。

cvs2svn does not have a feature to discard part of the CVS history. But you can convert the whole history then use "svnadmin dump" and "svnadmin load" to discard part of the repository after the conversion:

svnadmin dump -r R:HEAD /path/to/full/repo | svnadmin load /path/to/abbreviated/repo

where "R" is the SVN revision number of the first revision you would like to retain.

But instead of throwing away history that might someday be missed, see if you can get Google to raise the limits for your project:

There are disk-space quota limits for both issue tracker attachments and total Subversion repository size, along
with a limit on how many total projects you are able to create. If you hit these limits, please contact us via our
Google Group or email [email protected] directly to discuss the situation.

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