从 linux redhat 访问 windows 主机上的 svn 存储库 [英] Access svn repository on windows host from linux redhat

查看:56
本文介绍了从 linux redhat 访问 windows 主机上的 svn 存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问打开的 Windows 服务器上的 svn 存储库?我可以从不同的寡妇盒子访问,但现在需要从 Linux 盒子访问.

How to access a svn repository on an open windows server? I have access from a different widows box, but now need to access from Linux box.

当我进入时

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 box使用tortoisesvn,路径类似于file://Host/dir/svn_repository/project"

The windows box uses tortoisesvn and the path is something like "file://Host/dir/svn_repository/project"

我刚试过svn 列表文件:///...%20..%20.../repository/project,

I just tried svn list file:///...%20..%20.../repository/project,

和svn 列表 'file:///... .. .../repository/project'.

and svn list 'file:///... .. .../repository/project'.

那些命令给出的错误是无法打开 ra_local 会话到 URL.我问过系统管理员和技术支持,但他们不熟悉 svn、ssh 或 Linux 到 Windows 的通信.

Those commands give the error now is unable to open an ra_local session to URL. I have asked sys admin and tech support, but they are not familiar with svn, ssh, or Linux to windows communications.

服务器是运行visualsvn的2008服务器.我可以使用带有路径file://server/path/repo/project"的tortoisesvn从Windows 7机器访问repo.这是我最近尝试从 Fedora 6 box 访问

The server is a 2008 server running visualsvn. I'm able to access the repo from a windows 7 machine using tortoisesvn with path 'file://server/path/repo/project'. Here are my most recent attempts to access from 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 机器访问.

The problem here is that the repository was created on a shared drive. The repository is not in an svn server. Moving the repository into a server should allow access from linux machine.

关注问题:加载现有存储库时出现visualsvn错误

这篇关于从 linux redhat 访问 windows 主机上的 svn 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆