linux - 从linux redhat访问windows主机上的svn存储库

标签 linux windows svn ssh remote-server

如何访问打开的 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 计算机进行访问。

关注问题:visualsvn error while loading existing repository

关于linux - 从linux redhat访问windows主机上的svn存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26889883/

相关文章:

Android 模拟器启动卡在 “QEMU Pipe Device:rw, wait_event error”

svn - 相当于 "svn -v status"的 git

svn - 如何提交(不是加载!)svn 转储?

windows - 如何调整 SVN 设置以在 Windows 上转换行尾?

c++ - 我可以将 Token Privileges 数组从一台计算机复制到另一台计算机吗?

svn - 使用 TortoiseSVN 进行更新时,删除的文件为 'restored'

python fabric 如何在远程机器上启动进程

linux - 在 Tomcat 上部署 .war 失败

linux - rsync 究竟是如何工作的?如果您的文件没有不同,不传输任何东西是否足够聪明?

windows - 如何在 Windows 中生成 ssh key ?