如何将未版本控制的目录导入到smartsvn中的本地存储库?

时间:2014-01-31 15:15:11

标签: svn version-control smartsvn

我开始使用SmartSVN,我无法将目录导入本地存储库。它给出了图中所示的错误。 enter image description here

我已将 c:\ repo 配置为本地目录,但我不知道如何在导入存储库对话框的此步骤中选择它。< / p>

有人可以告诉我如何选择我的本地存储库来导入我的项目吗?

1 个答案:

答案 0 :(得分:2)

SmartSVN does not support the Local Repository Access (aka file://) protocol。您需要启动服务器才能使用本地计算机上的存储库。

根据您的屏幕截图,您似乎正在使用Windows。可能最简单的过程是download the Windows Vanilla Subversion installer from WANdisco。一旦安装完毕,您应该可以从命令提示符启动svnserve,如下所示:

svnserve -d -r c:\repo

然后,您将能够通过SmartSVN中的svn://127.0.0.1/访问存储库。如果停止svnserve或重新启动计算机,则需要重复此过程。如果您想要更永久的设置,我建议您设置svnserve as a service on Windows which is covered in the SVN Book