Make a directory a working copy without checkout?

北慕城南 提交于 2020-01-17 01:21:24

问题


So I am doing a project for my school but the problem is my school computers run deep freeze. Is there any way I can use SVN and make a directory a working copy without checking out? Does anyone know how SVN remembers if a directory is a working copy? Is there some config file I can save on my network drive?

Thanks


回答1:


SVN knows if the directory is a working copy by the presence of a hidden .svn directory which contains information about the working copy.

As far as a working copy without checking out, I think what you can do is do a checkout with empty depth. So from the SVN command line:

svn checkout http://url/to/repository trunk --depth empty

This will make a working directory with nothing in it, and you can later do an update to actually pull the content.



来源:https://stackoverflow.com/questions/24332416/make-a-directory-a-working-copy-without-checkout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!