5.31.2007

svn proxy

svn 不能過proxy:所以follow svn faq ,在 ./subversion/server 中加入 proxy server,port。

然後run svn co http://site local,一樣出現 400 Bad Request。
查是 因為 proxy 不支援 REQUEST command。所以改用https 試試 (http://tortoisesvn.net/node/87)

REPORT request failed on '...' REPORT of '...': 400 Bad Request (http://...)

You're behind a firewall which blocks DAV requests. Most firewalls do that.
Either ask your Administrator to change the firewall, or access the repository with https:// instead of http:// like in https://svn.collab.net/repos/svn/
That way you connect to the repository with SSL encryption, which firewalls can't interfere with (if they don't block the SSL port completely).

svn co https://site local

OK! 可以動作。

要注意 先前fail 的動作已經create 了local folder,並且在其中設定好了svn 紀錄,
所以第二次checkout會有message。

所以直接刪掉重新checkout就可以。

上一篇有關 svn proxy 的是 http://realchecko.blogspot.com/2007/02/googlesvn-hosting.html

沒有留言: