如何访问打开的 Windows 服务器上的 svn 存储库?我可以从不同的 widows 盒子进行访问,但现在需要从 Linux 盒子进行访问。
当我进入时
ssh -v HOST
输出为
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to HOST port 22.
debug1: connect to address HOST port 22: Connection refused
ssh: connect to HOST port 22: Connection refused
当我进入时
svn info svn+ssh:"//HOST/dir/svn_repository"
输出为
svn: 'svn+ssh://HOST/dir/parent dir' is not a working copy
svn: 'svn+ssh://HOST/dir/parent dir' does not exist
我也尝试过
svn info svn+ssh:"//HOST/dir/svn_repository/project"
windows盒子使用tortoisesvn,路径类似于“file://Host/dir/svn_repository/project”
我刚刚尝试过 svn 列表文件:///...%20..%20.../repository/project,
和 svn list '文件:///... .. .../存储库/项目'。
这些命令给出的错误是现在无法打开 URL 的 ra_local session 。我询问过系统管理员和技术支持,但他们不熟悉 svn、ssh 或 Linux 到 Windows 的通信。
服务器是运行 Visualsvn 的 2008 年服务器。我可以使用 tortoisesvn 和路径“file://server/path/repo/project”从 Windows 7 计算机访问存储库。这是我最近从 fedora 6 box 访问的尝试
<bash>$ svn info 'file://server/path/repo/project'
'file://server/path/repo/project': (Not a valid URL)
svn: A problem occurred; see other errors for details
<bash>$ svn info 'file:///server/path/repo'
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///server/path/repo'
最佳答案
这里的问题是存储库是在共享驱动器上创建的。存储库不在 svn 服务器中。将存储库移动到服务器中应该允许从 Linux 计算机进行访问。
关于linux - 从linux redhat访问windows主机上的svn存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26889883/