svn client timing out and corrupting WC state

天大地大妈咪最大 提交于 2020-01-02 11:00:22

问题


When I commit large changes - hundreds of megabytes - the client timesout even though the check-in does go through.

When I right-click on WC and show log, TSVN shows that WC revision does NOT get updated even though the check-in actually occurred.

I've tried using TortoiseSVN 1.9.5, Build 27581 - 64 Bit and command line svn version 1.9.5 (r1770682).

QUESTION

Is there a way to increase the timeout of the client?


回答1:


If you are using HTTP to connect to the server (as it appears to be the case) you can increase (or disable) the time out with the http-timeout directive, as explained at Runtime Configuration Area:

http-timeout

This specifies the amount of time, in seconds, to wait for a server response. If you experience problems with a slow network connection causing Subversion operations to time out, you should increase the value of this option. In Subversion 1.8 (or older versions employing the Serf-based HTTP provider), use the value 0 to disable the timeout altogether.

Just make sure you aren't merely masking a problem (it's strange that commit completes successfully but server response doesn't make through).



来源:https://stackoverflow.com/questions/42861248/svn-client-timing-out-and-corrupting-wc-state

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!