CVS 到 SVN 一次一个分支

发布于 2024-07-22 21:15:47 字数 123 浏览 4 评论 0原文

是否可以一次将一个存储库从 CVS 传输到一个分支/标签?

由于每个分支当前都是一个不同的项目,因此我希望能够一次转移一个分支(当特定分支上几乎没有活动时)。 最终分支将全部存在于同一个 svn 存储库中。

Is it possible to transfer a repository from CVS to SVN one branch/tag at a time?

Because each branch is currently a different project, I would like to be able to transfer the branches one at a time (when there is little activity on a specific branch).
Eventually the branches will all exist in the same svn repository.

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

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

发布评论

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

评论(1

活泼老夫 2024-07-29 21:15:47

从 CVS 迁移到 SVN 的方法是使用 cvs2svn 工具。 此迁移工具采用一次性操作将 CVS 存储库转换为 SVN。 您可以应用各种转换,如记录的。 在转换过程中,CVS 存储库应该被冻结,之后每个人都应该使用 SVN 存储库。 该工具不适合将 CVS 的部分内容逐渐移至 SVN。 它不会创建哪个 CVS 版本与哪个 SVN 修订号相关的持久记录。 因此,如果您当时仅转换 CVS 的部分内容,您将丢失分支信息。 所以最好一次性全部转换。 请注意,您可以一次转换一个 CVS 模块。 这是因为 CVS 模块是独立的。

The approach to migrate from CVS to SVN is to use the cvs2svn tool. This migration tool assumes a one time action to convert the CVS repository to SVN. You can apply various transformations, as documented. During the conversion the CVS repository should be frozen, and after which everybody should use the SVN repository. The tool isn't suited for gradually moving parts of the CVS to the SVN. It doesn't create a persistent record of which CVS version relates to which SVN revision number. Thus if you would convert only parts of the CVS at the time you will lose branching information. So it's really best to convert all at once. Note, you can convert one CVS module at the time. That's because CVS modules stand on their own.

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