SVN:通过慢速连接检查大型项目
我是 SVN 新手。我想通过慢速连接查看一个非常大的项目,需要很长时间才能下载。我在远程服务器和本地服务器上都有相同的项目压缩版本。有没有一种简单快捷的方法可以将我的本地项目与远程服务器同步,而无需完全签出?
谢谢
I am new to SVN. I want to check out a very large project over a slow connection which takes ages to download. I have zipped versions of project on both remote server and my local which are identical. Is there an easy and quick way to sync my local project with remote server without a full checkout?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在服务器上进行结帐,然后将其复制到 U 盘或其他设备上的本地计算机上。
You can do a checkout on the server and then copy it to the local machine on an USB stick or whatever.
包含项目文件的本地解压目录上的 svn checkout 应该可以工作,而无需 subversion 从服务器获取所有内容。
SVN 应该足够智能,能够识别已经相同的文件 - 我知道 Windows 客户端 TortoiseSVN 是这样的,并且看到它在底层使用本机
svn
二进制文件,我认为这是本机特征。当然,您需要使路径完全正确,以便结构匹配;并且一定要先进行备份 - 任何不在存储库中的本地更改都将以这种方式被覆盖!
A
svn checkout
on your local unzipped directory that contains the project files should work without subversion fetching all the stuff from the server.SVN should be intelligent enough to recognize files that are already identical - I know for a fact that Windows client TortoiseSVN is, and seeing as it's using the native
svn
binaries under the hood, I assume this is a native feature.Of course, you need to get the paths exactly right so the structures match; and be sure to make backups first - any local changes not in the repository will be overwritten this way!