Have you ever run a command like this?
svn co http://some.host.org/some/repo/somewhere/with/a/trunk myFavoriteProject
And gotten an error like this?
svn: PROPFIND request failed on '/some/repo/somewhere/with/a/trunk'
svn: PROPFIND of '/some/repo/somewhere/with/a/trunk': Could not resolve hostname `some.host.org': Unknown host (http://some.host.org)
Well, you are not alone. You are probably behind a proxy server (like
Squid) that filters and/or caches incoming and outgoing traffic.
try doing what I did ...
$ vi ~/.subversion/servers
then go down to the [global] section of the file where you might see soemthing like this:
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
# http-proxy-host = defaultproxy.whatever.com
# http-proxy-port = 7000
Uncomment some of the lines, and fill this section out with the name of your favorite proxy that your business throttles you with, so that it looks something like this:
http-proxy-host = web-proxy.mycompany.com
http-proxy-port = 8080
And then retry your subversion command.
If your company's proxy server supports all of the HTTP methods that Subversion uses like PROPFIND, REPORT, MERGE, MKACTIVITY, and CHECKOUT, then you should be fine.
If something in the way does not support HTTP methods such as REPORT (like our proxy), then you might get subsequent errors like this:
svn: REPORT request failed on '/repos/asf/!svn/vcc/default'
svn: REPORT of '/repos/asf/!svn/vcc/default': Could not read response body: Connection reset by peer (http://some.host.org)
Hope that helps.
If anyone understands this issue better, and can shed some light on it, please give us a link that shows us how to avoid these issues completely.
BOLD UPPERCASE WARNING!
I AM GLAD THAT THE SOLUTION PROVIDED HAS HELPED SOME OF YOU, BUT 100s OF PEOPLE HAVE BEEN READING THIS POST EVERYDAY, AND WE WANT A MORE DEFINITIVE AND CLEAR ANSWER TO THESE ISSUES THAN WHAT YOU SEE ABOVE. WHY ARE PEOPLE HAVING ALL OF THESE ISSUES? THOSE OF YOU WHO FIGURE THIS OUT ... POST YOUR COMMENTS BELOW!