将大型 CVS 存储库迁移到 SVN
我有一个大型 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
cvs2svn 没有丢弃部分 CVS 历史记录的功能。但是您可以转换整个历史记录,然后使用“svnadmin dump”和“svnadmin load”在转换后丢弃部分存储库:
其中“R”是您要保留的第一个修订版的 SVN 修订版号。
但不要丢弃有一天可能会错过的历史记录,看看是否可以让 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:
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: