I'm on laptop (Ubuntu) with a network that use HTTP proxy (only http connections allowed).
When I use svn up for url like 'http://.....' everything is cool (google chrome repository works perfect), but right now I need to svn up from server with 'svn://....' and I see connection refused.
I've set proxy configuration in /etc/subversion/servers but it doesn't help.
Anyone have opinion/solution?
相关问题
- Is shmid returned by shmget() unique across proces
- Why doesn't php sleep work in the windows-subs
- how to get running process information in java?
- Installing Pydev for Eclipse throws error
- Error building gcc 4.8.3 from source: libstdc++.so
If you're using the standard SVN installation the svn:// connection will work on tcpip port 3690 and so it's basically impossible to connect unless you change your network configuration (you said only Http traffic is allowed) or you install the http module and Apache on the server hosting your SVN server.
If you can get SSH to it you can an SSH Port-forwarded SVN server.
Use
SSHs -L
( or-R
, I forget, it always confuses me ) to make an ssh tunnel so that127.0.0.1:3690
is really connecting to remote:3690 over the ssh tunnel, and then you can use it viaOk, this should be really easy:
Edit the file:
Save it, run
svn
again and it will work.svn:// doesn't talk http, therefor there's nothing a http proxy could do.
Any reason why http doesn't work? Have you considered https? If you really need it, you probably have to have port 3690 opened in your firewall.
In
/etc/subversion/servers
you are settinghttp-proxy-host
, which has nothing to do withsvn://
which connects to a different server usually running on port 3690 started bysvnserve
command.If you have access to the server, you can setup
svn+ssh://
as explained here.Update: You could also try using
connect-tunnel
, which uses your HTTPS proxy server to tunnel connections:Then you would use
when you use the svn:// URI it uses port 3690 and probably won't use http proxy