我试图通过CYGWIN访问源代码存储库,就在我通过Windows资源管理器成功检出文件之后,但它一直在给我一个'CYGWIN中找不到主机的错误。
尝试在CYGWIN中执行svn co
结帐以进行结帐。
在SVNTortoise网络设置中,我已经包含了我的代理服务器和用户名/密码。
请告诉我这里缺少的东西。 下面是我正在进行的cygwin bash的确切场景:
bash-3.2$ cd
bash-3.2$ svn --version
svn, version 1.6.3 (r38063)
compiled Jul 9 2009, 10:30:30
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
bash-3.2$ svn co http://repositoryname/checkoutfile
svn: OPTIONS of 'http://repositoryname/checkoutfile': Could not resolve hostname `repositoryname': Unknown host (htp://repositoryname.com)
答案 0 :(得分:0)
据我所知,Cygwin工具不会使用你为TortoiseSVN设置的代理设置。
在运行命令之前,尝试在shell中设置代理:
export http_proxy="http://<user>:<password>@<proxy>:<port>"
svn ...
如果可行,您可以将export ...
行添加到.bash_profile
。