如何将 CVS 存储库从一台服务器移动到另一台服务器并维护历史记录?

发布于 2024-07-07 08:12:43 字数 227 浏览 5 评论 0原文

我的本地工作站上有一个 CVS 存储库。 我已经向我的雇主证明版本控制是一个好主意。 好吧! 所以现在我想将我的 CVS 历史记录从本地工作站迁移到真实服务器上。

我已经在服务器上安装了 CVS 并且它正在工作。

现在,我可以移动我的存储库文件吗? 或者我必须执行某种导入命令?

我知道我可以将当​​前代码库检查到新的 CVS 服务器中,但这会丢失历史记录,对吧?

I have a CVS repository on my local workstation. I've demonstrated to my employer that version control is a great idea. Alright! So now I want to migrate my CVS history from my local workstation onto a real server.

I have installed CVS on the server and it is working.

Now, can I just move my repository files? Or do I have to do some sort of import command?

I know I could just check the current codebase into the new CVS server, but that'd lose the history, right?

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

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

发布评论

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

评论(2

花伊自在美 2024-07-14 08:12:43

只需复制文件 - 实际上没有其他任何内容(至少如果源操作系统和目标操作系统相同)

just copy the files - there really isn't anything else to it (at least if source and destination OS are the same)

趁年轻赶紧闹 2024-07-14 08:12:43

我上周刚刚迁移了一个。

我们在工作中使用 Subversion,而我所做的只是将 Subversion 根目录从一台计算机移动到另一台计算机。 然后,当我在新机器上安装 VisualSVN 服务器 时,我只是选择了现有的 Subversion 根目录移植而不是创建新的存储库。 它无缝地维护历史记录和文件。

我不确定这与其他源代码控制系统的配合效果如何。

I just migrated one last week.

We're using Subversion at work, and all I did was move the root Subversion directory from one machine to the other. Then when I installed the VisualSVN server on the new machine, I just chose the existing Subversion root that I ported rather than creating a new repository. It seamlessly maintained history and files.

I'm not sure how well this will work with other source control systems.

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