且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SVN 在现有存储库上创建主干目录

更新时间:2023-02-03 17:15:23

这与我过去的做法类似.您的解决方案实际上复制每个文件,然后删除原始文件.由于 Subversion 实现副本的方式,每个文件的历史记录都会被保留.

This is similar to the way I've done it in the past. Your solution actually copies each file, then deletes the original. Because of the way Subversion implements copies, the history for every file is preserved.

执行此操作后,您可以使用 svn switch 将现有结帐点指向新位置.

After doing this, you can point existing checkouts at the new location using svn switch.