【发布时间】:2011-11-30 19:53:51
【问题描述】:
我在 How to update TortoiseSVN over the network? 之前问过类似的问题。当时我正在使用服务器的 VM 副本,我列出的解决方案有效。这次我使用的是实际服务器,但我无法签出我的存储库。
Unable to open an ra_local session to URL
Unable to open repository 'file://REMOTE-PC/repositories/MyApps/trunk/App1'
Can't open file '\\REMOTE-PC\repositories\MyApps\trunk\App1\format': Logon
failure: unknown user name or bad password.
我的问题是
我是否需要对服务器上的文件夹具有特殊权限才能成功签出存储库?
-
The documentation here 指出在哪里使用哪个协议?我之前在 VM 上使用过这个,它可以工作
file://REMOTE-PC/repositories/MyApps/trunk/App1
我应该使用什么?
+------------+--------------------------------------------------------------+
| file:/// | Direct repository access (on local disk) |
| http:// | Access via WebDAV protocol to Subversion-aware Apache server |
| https:// | Same as http://, but with SSL encryption. |
| svn:// | Access via custom protocol to an svnserve server |
| svn+ssh:// | Same as svn://, but through an SSH tunnel. |
+------------+--------------------------------------------------------------+
什么以前有效,现在无效?请解决这两个问题。
我还想提一下,如果我想从服务器(我正在使用远程桌面)访问我的 PC(存储库所在的位置),我必须输入用户名和密码。我必须在 SVN 命令中提供这些吗?
【问题讨论】:
标签: svn windows-xp tortoisesvn windows-server-2003