SVN FAQ

#####ports:
By the way, if you need to access SVN remotely, by default it runs on port TCP port 3690, so you need to make sure it is open in your firewall.


Yes, It's that simple (provided server is configured).
I recommend using ssl, i.e. port 443 and https prefix.

Btw, you can also use svn+ssh (secure port 22).



SVN port v.s firewall
If you need to access SVN remotely, by default it runs on port TCP port 3690.
簡單的說,如果要存取遠端的 Subversion server, 3690 這個 port 是一定要開的啦!
如果只有 80 port 通的話,就只能用 Browser 看見 Server 上的內容而不能存取。

#######SVN无法连接
svn: Can't connect to host '192.168.1.250': No connection could be made because the target machine actively refused it.
http://blog.csdn.net/choclover/archive/2009/07/04/4322297.aspx
一般,actively refused是因为服务器未在此协议上提供SVN服务,需要确认服务器开放的是什么协议SVN,SVN+SSH,还是https。之后还要确认库的目录,一般的https连接目录:https://192.168.18.110/svn/SVN-Center. SVN-Center是仓库的root目录名。

#######post-commit未调用
http://bbs.iusesvn.com/viewthread.php?tid=2636
post-commit 钩子脚本根本就没有执行
发现如果将apache作为service启动就会出现这种现象, 作为console启动没有问题。
change
run this in service "C:\Program Files\VisualSVN Server\bin\VisualSVNServer.exe" -k runservice -C "LoadModule log_visualsvn_module bin/mod_log_visualsvn.so" -E nul
to
run it in command "C:\Program Files\VisualSVN Server\bin\VisualSVNServer.exe"
posted @ 2010-04-14 14:26  ColorSea  阅读(474)  评论(0编辑  收藏  举报